API keys and service identities
Issue, store, rotate, and revoke automation credentials safely.
Issue, store, rotate, and revoke automation credentials safely.
Automation credentials should represent a named service responsibility with the minimum required scope. They must never be embedded in code, screenshots, public documentation, logs, or support tickets.
Name the service owner, workload, environment, required resources, and review date.
Choose an approved secret manager and rotation process.
Define how to disable the workload safely before revoking the key.

Open Workspace Settings › API keys and choose Create new key. The key is added to the table with a masked value, Show and Copy controls, an Enabled switch, and Delete. The screenshot intentionally excludes key identifiers and secret values.
API-key management includes create, masked display, reveal, copy, enable/disable, and delete controls.
The Unitlab Python SDK accepts an API key and optional API URL directly, through environment variables, or through CLI configuration. Version 3.0.0 requires Python 3.10 or newer.
Service identity
Unitlab issues the workspace API key; your operating model should assign that key to a named non-human workload owner rather than a shared person.
Environment
Use separate credentials and resource scope per production, staging, and development environment.
Enabled state
Disable first when you need a reversible containment step; delete after dependencies are reconciled.
Logs
Record resource IDs and redacted errors, never the secret or signed response values.
Incident
Create a replacement and disable the suspected key immediately; inspect affected operations before permanent deletion.
Never paste an API key into GitBook, source control, a screenshot, a chat, or a ticket.
Document the workload owner and resource scope.
Schedule rotation and access review.
Use stable IDs and explicit versions in automated operations.
Continue with Unitlab: AI training-data annotation