A management API for keys, Directives and webhooks
Create, rotate and revoke project keys, edit project, environment and key Directives, and add webhooks from Terraform, CI or your own platform, with a team management key. In the console, keys can now expire, be renamed and be rotated.
Create a management key under Team → Management keys. It starts with ib_mgmt_, works only on /v1/keys, /v1/projects, the …/directives routes and /v1/webhooks, and can't call models or read usage; project keys can't manage. Every change is in the audit log under the key, with the same events as the console.
Rotating a key issues a new secret under a new key with the same settings and keeps the old one working for an overlap you choose, up to seven days. Directives changes are optimistic on policy_version: a stale one gets 409 version_conflict and nothing changes. Secrets are returned only when created or rotated.
More in Management API.