Creating a key
Choose New API key and set four things:
The full token is shown once at creation. You do not have to capture it perfectly — it can be
revealed again from the API keys screen — but every reveal is recorded in the
audit log.
Whose identity the key carries
This is the decision worth getting right.Using a key
Send the token as a bearer token on each request:Lifecycle
- Status — a key is active, expired, or revoked.
- Last used — the keys screen shows when each key was last seen, which is how you find the ones nothing uses any more.
- Revoke — takes effect immediately and cannot be undone, so issue a replacement first if the integration has to keep running. Revoking a key that minted its own service account also disables that service account; a key bound to a shared service account, or to you, never touches that identity.
- A key also stops working the moment the identity behind it does. Disabling a service account or suspending a member immediately invalidates every key bound to it.
Next steps
Service accounts
The identity most keys should act as.
Roles & permissions
The roles a service-account key is granted at creation.
APIs
What you can call once you hold a key.
Audit log
Creation, reveals, and revocations are all recorded.