API keys
Create project-bound credentials in the console and safely manage their metadata and lifecycle.
Loading documentation…
API keys are project-bound credentials for unattended automation. Each key has an expiration date and explicit scopes.
Only the create response contains the plaintext api_key. Later list and detail
responses return metadata only. Store the value immediately or replace the key.
Create API key requires an interactive console session. An API key cannot create another key, even if it has v1.api-keys:write.
The create request includes:
project_idname and optional descriptionexpires_on as YYYY-MM-DD, no more than three years in the futureAn API key with the relevant API-key scope can:
Scopes and expiration cannot be changed after creation. Create a replacement key instead. Setting status to paused invalidates the key for authentication.
If a key updates or deletes API-key metadata, make sure another authorized credential remains available before pausing or deleting the calling key.