Manage and generate API keys
This article describes how to manage and generate API keys used to authenticate with the Tealium API.
Requirements
- To generate or revoke your own API key, you must be authorized by another user in the same primary account as you with the Manage Users legacy permission or the user admin role.
- To authorize API keys for users on the same primary account as you:
- You must have Manage Users legacy permissions or the user admin role.
- You must be on the same primary account.
- The user must have logged in to the platform at least once.
How it works
API keys are used to authenticate with the Tealium API and linked to individual user accounts.
API keys are generated as follows:
- An administrator with the Manage Users legacy permission or the [user admin role](/administration/admin-roles/ authorizes an API key for one or more users.
- The authorization action triggers an email to the affected users, which notifies them that they are authorized to generate an API key. Those users can then generate their own API key.
API keys can be authorized, revoked, and generated. After an API key is generated and displayed to the user, it cannot be retrieved again. Lost or forgotten keys must be reset or revoked by a user with the Manage Users permission.
About the Manage Users permission
Users with the Manage Users permission can do the following:
- Authorize (or reset) API keys for other users within their primary account.
- Revoke API keys for other users within their primary account.
Any user who has been authorized to generate an API key can do the following:
- Generate or reset their own API key.
- Revoke their own API key.
Managing API Keys
This section describes how to:
- Authorize a user to generate their own API key.
- Generate your own API key.
- Manage API keys (authorize, rest, or revoke) for one or more users.
Authorize a user to generate API keys
To authorize a user to generate API keys, you must be an administrator with the Manage Users legacy permission or the user admin role. This step does not generate keys for a user, but authorizes them to generate their own API key.
Use the following steps to authorize a user to generate their own API keys:
- In the admin menu, click Manage Users. The User Manager dialog appears.
- Use the checkboxes to select one or more users to manage.
- Click Edit/View User Settings.
- In the left side panel, click API Key.
- Click Authorize Generation.
A message appears that the API key authorization email was sent. - Click Close to close the window.
Generate an API key
Users must receive prior authorization to generate their own API key. Once authorized, the user receives an email notification instructing them to generate their API key.
After the email is received, users can generate their own API key using the following steps:
-
In the admin menu, click Edit/View User Settings.
-
In the left side panel, click API Key.
-
Click Generate Key.
The API key is generated and displayed in a pop-up window.The API key is only shown once and cannot be viewed later. Once you close this window, the API key cannot be displayed again.
-
Copy the API key to a secure location before proceeding.
-
Click Close to close the window.
Manage API keys for single users
Use the following steps to manage API keys for a single user:
- In the admin menu, click Manage Users from the drop-down list.
The User Manager dialog appears. - Click the checkbox next to the user for which you want to manage the API key.
- Click Edit/View User Settings.
- In the left side panel, click API Key.
- Select one of the following actions:
- Authorize Generation
Authorizes the user to generate their own key. - Reset Key
Reset s the existing key and authorize a new key to be generated. - Revoke Key
Revokes the existing key.
- Authorize Generation
- Click Close to close the dialog.
Manage API keys for bulk users
API keys can be authorized, reset, or revoked in bulk.
Use the following steps to manage API keys in bulk:
- In the admin menu, click Manage Users from the drop-down list. The User Manager dialog appears.
- Click the checkbox next to each user for which you want to manage the API key.
- Click the More drop-down list and select Manage API Keys.
The selected users appear in the left panel. - Select the desired action:
- Authorize / Reset Keys
- Authorizes new users to generate an API key and resets the API key for existing users.
- Existing keys are immediately invalid and the user must then generate a new API key.
- Revoke Keys
- Revokes existing API keys for selected users.
- Revoked keys immediately become inactive for the users selected.
- Authorize / Reset Keys
- Click Save.
A confirmation message appears and an email notification regarding the update is sent to the affected users. - Click Close to close the window to return to the previous screen.
This page was last updated: June 26, 2024