Overview
Torii integrates with Harness and syncs:
- Users (name, email, role and status)
- A single Harness license
- The Harness account name
- You can constantly stay updated with application information from our Integrations Page >> Integration Capabilities button >> Integration Capabilities table.
Torii also offers two beta workflow actions: Invite Harness user and Remove Harness user.
Requirements
To connect this integration, we require the following:
Accounts & Permissions
- A Harness account.
- A Harness user or service account with the Account Admin role. The API key token inherits the permissions of the user or service account it is created under, and Torii needs to view users and the account. The workflow actions also need permission to invite and manage users and to view roles and resource groups.
Required keys
- Account ID - your Harness account ID.
- API key token - a personal access token or a service account token.
- Harness host (optional) - only if your account is not on
https://app.harness.io.
How to Generate the Required Values
Step 1: Find your Account ID
- Sign in to Harness.
- Copy the Account ID from the browser address bar. It is the value after
/account/, for examplehttps://app.harness.io/ng/#/account/ACCOUNT_ID/home/get-started.
Step 2: Create an API key token
To use a service account (recommended, so the token does not depend on a person):
- In Harness, select Account Settings, and then select Access Control.
- Select Service Accounts in the header, and then select a service account that has the Account Admin role.
- Under API Keys, select API Key.
- Enter a Name for the API key, and then select Save.
- Select Token under the new API key and enter a Name for the token.
- Select Generate Token and copy the token.
To use a personal access token instead: go to your user profile in Harness, select API Key under My API Keys, save it, then select Token, and select Generate Token.
Step 3: Check your Harness host
- Go to Account Settings >> Account Details and look at the Harness Cluster field.
- If you sign in at
https://app.harness.io, leave the Harness host field empty. Otherwise, enter the host you sign in to, for examplehttps://app3.harness.ioorhttps://accounts.eu.harness.io.
Important
The token is only displayed once. If you set an expiration date for the token, reconnect the integration with a new token before it expires.
How to Connect the Integration
- Go to the Integrations page in Torii.
- Search for Harness and click Connect.
- Enter the Account ID, the API key token and, if needed, the Harness host.
- Click Connect.
Q&A
Q: Which users are synced?
A: All users of the Harness account. Invited users who have not accepted their invitation yet are not synced.
Q: How is a disabled user shown?
A: A disabled Harness user stays active in Torii with an inactive license and the status "Disabled". A locked user keeps an active license with the status "Locked".
For any further questions, please contact Torii Support.