Create an API key for an agent
Creates a use-scoped API key bound to this agent. The response is the only time the full key value is returned; Skydive stores a hash and cannot recover it. Requires edit access to the agent and a key with the edit scope.
Authorizations
A Skydive API key, sent as Authorization: Bearer sky_live_.... Keys are scoped to a single agent and carry a use or edit scope. The full key value is shown once at creation and never again.
Path Parameters
The agent id.
Body
A label to help you recognize this key later.
1 - 120"CI deploy key"
Response
The key was created. This is the only time the full key value is returned.
Unique identifier for this API key.
Human-readable label given to the key at creation.
First 12 characters of the key, safe to display. Use it to tell keys apart without exposing the secret.
"sky_live_1a2"
When the key was last used to authenticate a request, or null if never used.
When the key was created.
The full API key secret. Returned only once, at creation. Store it securely: it cannot be retrieved again.
"sky_live_1a2b3c4d5e6f..."