Get a key

Returns information about a key.

Path Params
integer
required

Identifies the key. Run the List keys operation to select one.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Responses

Response body
object
collections
array of objects
length ≥ 1

Read-only Identifies the collections that include the key.

collections
object
int64
required
≥ 0

Identifies the collection.

string
required
length between 1 and 200

Name of the collection.

string
required

Key's quota reset status. Either NONE if no quota reset is in progress, QUEUED if the key is awaiting a quota reset, or PROCESSING if the key's quota is currently being reset. When the quota resets, the status automatically changes from PROCESSING to NONE.

NONE QUEUED PROCESSING

date-time
required

ISO 8601 timestamp indicating when the key's quota was updated.

int64
required
≥ -1

Current quota usage for the key. The value is -1 if the current usage is unknown.

date-time

Read-only ISO 8601 timestamp indicating when the key was created.

date-time | null

Read-only ISO 8601 timestamp indicating when to delete the key. Appears as null in responses until you specify it.

string | null

Description you provide for the key. Appears as null in responses until you specify it.

int64
≥ 0

Read-only Identifies the key.

string

Read-only The key's network status, either PENDING_DEPLOYMENT, DEPLOYED, PENDING_REVOCATION, or REVOKED.

PENDING_DEPLOYMENT DEPLOYED PENDING_REVOCATION REVOKED

string
required
length ≥ 1

Value of the key.

string | null

Label assigned to the key.

date-time | null

Read-only ISO 8601 timestamp indicating when the key was revoked. Appears as null in responses until you specify it.

tags
array of strings
length ≥ 0

Additional categories assigned to the key that you can use as filters.

tags

Language
Authentication
URL