Who can run what: organisations, grants and the fifteen-minute token
Why fifteen minutes
Page 2 of 4
Because a leaked token should be a bad afternoon rather than a bad year.
A long-lived key that reaches an application is the credential everybody eventually copies into a notebook, a shell history and a support ticket. Fifteen minutes is long enough to submit an operation and poll a job to completion, and short enough that a token found in a log is almost certainly already useless.
The cost is that a caller has to ask for one before it calls. In practice this is one extra request at the start of a run, and it is the request that decides which application you are talking to anyway — the dispatch response is where the application's URL comes from, so you were going to make it.