Skip to content
Start here

Keys

Get the Access key configuration
client.zeroTrust.access.keys.get(KeyGetParams { account_id } params, RequestOptionsoptions?): KeyGetResponse { days_until_next_rotation, key_rotation_interval_days, last_key_rotation_at }
GET/accounts/{account_id}/access/keys
Update the Access key configuration
client.zeroTrust.access.keys.update(KeyUpdateParams { account_id, key_rotation_interval_days } params, RequestOptionsoptions?): KeyUpdateResponse { days_until_next_rotation, key_rotation_interval_days, last_key_rotation_at }
PUT/accounts/{account_id}/access/keys
Rotate Access keys
client.zeroTrust.access.keys.rotate(KeyRotateParams { account_id } params, RequestOptionsoptions?): KeyRotateResponse { days_until_next_rotation, key_rotation_interval_days, last_key_rotation_at }
POST/accounts/{account_id}/access/keys/rotate
ModelsExpand Collapse
KeyGetResponse { days_until_next_rotation, key_rotation_interval_days, last_key_rotation_at }
days_until_next_rotation?: number

The number of days until the next key rotation.

key_rotation_interval_days?: number

The number of days between key rotations.

maximum365
minimum21
last_key_rotation_at?: string

The timestamp of the previous key rotation.

formatdate-time
KeyUpdateResponse { days_until_next_rotation, key_rotation_interval_days, last_key_rotation_at }
days_until_next_rotation?: number

The number of days until the next key rotation.

key_rotation_interval_days?: number

The number of days between key rotations.

maximum365
minimum21
last_key_rotation_at?: string

The timestamp of the previous key rotation.

formatdate-time
KeyRotateResponse { days_until_next_rotation, key_rotation_interval_days, last_key_rotation_at }
days_until_next_rotation?: number

The number of days until the next key rotation.

key_rotation_interval_days?: number

The number of days between key rotations.

maximum365
minimum21
last_key_rotation_at?: string

The timestamp of the previous key rotation.

formatdate-time