DocumentationAuthentication
API Keys
An API key talks to real machines. Scope it as tightly as that implies.
Create
Keys are created in key management or via the API. On creation you set the name, scopes and, optionally, allowed IP ranges. The full key is shown exactly once.
curl https://api.artim-industries.com/v1/keys \ -H "Authorization: Bearer $ARTIM_ADMIN_KEY" \ -d '{ "name": "Reporting-Job", "scopes": ["webhooks:manage"], "ip_allowlist": ["203.0.113.0/24"] }'
Rotate
Rotation creates a new key and keeps the old one running for 24 hours. During this time both are valid, so no deploy window is needed.
- Webhook key.rotation.pending six hours before expiry
- The new key takes over the old key's scopes and IP binding
- The overlap can be extended to up to seven days
Revoke
Revocation is immediate and final. The key is invalid in all regions in under two seconds.
Key ended up in the repository?
Revoke first, then clean up. A key in the Git history stays there, even after a force push — revocation is the only reliable countermeasure.