Before you start
- Sign in with access to manage API keys (iam.write), which the Admin role has.
- Have a safe place to store the secret, such as your system's secret manager.
Step-by-step guide
-
Open Settings, then API keys & webhooks
On Home, open Settings in the sidebar, then API keys & webhooks. API keys let your own systems call Riptide, with the roles you give each key.
-
Create the key
Choose New API key. Enter a Name and pick Roles. Scopes can limit the key to some of what its roles allow; with none ticked it has everything they allow. Expires starts 90 days ahead. Choose Create key.
- Name
Reporting sync - What the key is for.
- Roles
Viewer - Reads the workspace and changes nothing.
- Expires
90 days ahead - The default. Clear it for a key that never expires.
- Name
-
Save the secret
The secret is shown once. Choose Copy secret, store it, then choose I have saved it. The list keeps the key's Prefix, Roles, Scopes, Expires, Status and Last used.
-
Rotate the key
Open the key's menu, choose Rotate and confirm. A new secret appears, once. The old secret keeps working for 24 hours, so update your system within that time. The list shows both keys, and the old one's Expires is 24 hours away.
-
Revoke the old key
Once your system uses the new secret, open the old key's menu, choose Revoke and confirm. Calls made with it fail at once, and this can't be undone. The new key stays Active.
Check the saved settings
- The old key reads Revoked and the new key Active.
- Your system's calls succeed with the new secret.
Rotating gives you an overlap to switch secrets. Revoking ends a key immediately, so use it at once if a secret leaks.
Troubleshooting
I lost the secret.
It can't be shown again. Rotate the key to get a new secret, or create another key and revoke this one.
Calls are refused.
Check that the key is Active and hasn't expired, and that its roles and scopes allow the call.
There's no New API key button.
Creating keys needs iam.write. Ask a workspace Admin.
How do I tell the two keys apart after rotating?
They share a name. Compare Prefix and Expires: the old one expires first.
Video transcript
The narration in full. Download English captions.
0:00 Create an API key, rotate it and revoke the old one.
0:06 You need a workspace sign-in with the Admin role.
0:11 This is a local demo workspace, and secrets are blurred.
0:17 Start on Home. Open Settings, then API keys & webhooks.
0:23 API keys let your own systems call Riptide.
0:28 Each key acts with the roles you give it.
0:34 Choose New API key.
0:38 Name it for what uses it, such as Reporting sync.
0:43 Pick its Roles. A Viewer key can read and changes nothing.
0:49 Scopes can narrow the key further.
0:53 With none ticked, the key has everything its roles allow.
0:59 Expires starts 90 days ahead.
1:03 Choose Create key.
1:06 The secret is shown once.
1:10 Choose Copy secret and store it somewhere safe.
1:15 Then choose I have saved it.
1:18 The list keeps the Prefix, Roles, Expires and Last used.
1:26 To replace the secret, open the key's menu and choose Rotate.
1:32 Confirm with Rotate.
1:36 A new secret appears, once.
1:39 The old secret keeps working for 24 hours.
1:44 Update your system with the new secret before then.
1:49 The list now has both keys.
1:53 The old one expires in 24 hours.
1:58 Once your system uses the new secret, revoke the old key.
2:04 Open its menu and choose Revoke.
2:08 Calls made with that key fail at once, and this can't be undone.
2:14 Confirm with Revoke.
2:18 The new key stays Active.
2:22 Your system has a new key, and the old one is revoked.
2:28 Next, brand your console.
2:33 It has its own video and written guide.