Temporal · Arazzo Workflow
Temporal Issue an API Key for a New Service Account
Version 1.0.0
Create a Service Account, read it back, then issue an API key owned by it.
Provider
Workflows
issue-service-account-key
Create a Service Account and issue an API key bound to it.
Chains createServiceAccount, listServiceAccounts to resolve the new id, and createApiKey to mint a key owned by that Service Account.
1
createServiceAccount
createServiceAccount
Create the Service Account from the supplied name and access spec.
2
resolveServiceAccount
listServiceAccounts
List Service Accounts to resolve the id of the account just created so it can own the new API key.
3
issueApiKey
createApiKey
Create an API key owned by the new Service Account, using its id as ownerId and serviceaccount as the ownerType.