type

APIKey

type APIKey struct { ID string `json:"id"` Name string `json:"name"` Key string `json:"key"` CreatedAt string `json:"createdAt"` ExpiresAt string `json:"expiresAt,omitempty"` }

A newly minted API key including its one-time bearer secret.

Source protocol/envelope.go:267

IDstring
The ID value.
Namestring
The Name value.
Keystring
The Key value.
CreatedAtstring
The CreatedAt value.
ExpiresAtstring
The ExpiresAt value.

Key is returned only at creation. Later lists use APIKeyInfo and never recover the secret.