How can we help?

Temporal Cloud Integration

Netanel Hugi
Netanel Hugi
  • Updated
Torii SMP
Torii Identity

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)

  1. Log in to the Temporal Cloud UI.
  2. Go to Profile Page >> API Keys.
  3. Select Create API key.
  4. Enter an API key name, a description, and an expiration date. The maximum expiration is 2 years.
  5. Select Generate API Key.
  6. 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.

  1. Log in to the Temporal Cloud UI.
  2. Go to API Keys.
  3. Select Create API Key.
  4. In the Create an API key for dropdown, choose Service Account.
  5. In the Mapped to identity box, select the service account.
  6. Enter a name, a description, and an expiration date. The maximum expiration is 2 years.
  7. Select Generate API Key.
  8. 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

  1. Go to the Integrations page in Torii.
  2. Search for Temporal Cloud and click Connect.
  3. Enter the API Key.
  4. 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.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request