Overview
Torii integrates with Temporal Cloud and syncs:
| User Fields | License Types |
|---|---|
| Email, Account role, Status, Creation time | Temporal Cloud license |
- You can constantly stay updated with application information from our Integrations Page >> Integration Capabilities button >> Integration Capabilities table.
Requirements
Accounts & Permissions
To connect this integration, we require the following:
- A Temporal Cloud account. API keys are available on every Temporal Cloud plan.
- An API key that belongs to a user with the Account Owner or Global Admin account role (or to a service account with one of these account roles). Only these roles can see other users' account roles and invitation status, and only these roles can invite and remove users.
- With any other account role, users are still synced, but only with their ID, email and state (no roles and no invitation status). The Metrics Read-Only role grants no Cloud Ops API permissions, so a key with this role cannot be used.
Required keys
- API Key - a Temporal Cloud API key.
How to Generate the Required Values
Follow these steps to generate the required values:
Option 1: Create an API key for your own user (an Account Owner or Global Admin)
- Log in to the Temporal Cloud UI.
- Go to Profile Page >> API Keys.
- Select Create API key.
- Enter an API key name, a description, and an expiration date. The maximum expiration is 2 years.
- Select Generate API Key.
- Copy and securely save the API key.
Option 2: Create an API key for a service account
The service account must have the Account Owner or Global Admin account role. Only Global Administrators and Account Owners can create service account API keys.
- Log in to the Temporal Cloud UI.
- Go to API Keys.
- Select Create API Key.
- In the Create an API key for dropdown, choose Service Account.
- In the Mapped to identity box, select the service account.
- Enter a name, a description, and an expiration date. The maximum expiration is 2 years.
- Select Generate API Key.
- Copy and securely save the API key.
Important
The API key is displayed only once, when it is generated. If you lose it, you must generate a new key.
How to Connect the Integration
- Go to the Integrations page in Torii.
- Search for Temporal Cloud and click Connect.
- Enter the API Key.
- Click Connect.
Actions
- Invite user - invites a user to your Temporal Cloud account by email, with the account role you choose: Global Admin, Developer, Finance Admin, Read-Only or Metrics Read-Only. The Account Owner role cannot be selected, and Finance Admin can only be assigned with an Account Owner API key. Namespace permissions are not set by this action.
- Remove user - removes a user from your Temporal Cloud account.
Both actions require an API key of an Account Owner or Global Admin.
Q&A
Q: What happens when the API key expires?
A: Temporal Cloud API keys have an expiration date (up to 2 years). When the key expires, the sync stops working. Generate a new API key and reconnect the integration in Torii with the new key.
Q: Why are roles and invitation status missing for some users?
A: Temporal Cloud returns other users' account roles and invitations only to Account Owner and Global Admin. If the API key belongs to a user with another role, users are synced without their roles and invitation status. Use a key of an Account Owner or Global Admin.
For any further questions, please contact Torii Support.