Skip to content
Start here

Keys

Get the Access key configuration
zero_trust.access.keys.get(KeyGetParams**kwargs) -> KeyGetResponse
GET/accounts/{account_id}/access/keys
Update the Access key configuration
zero_trust.access.keys.update(KeyUpdateParams**kwargs) -> KeyUpdateResponse
PUT/accounts/{account_id}/access/keys
Rotate Access keys
zero_trust.access.keys.rotate(KeyRotateParams**kwargs) -> KeyRotateResponse
POST/accounts/{account_id}/access/keys/rotate
ModelsExpand Collapse
class KeyGetResponse:
days_until_next_rotation: Optional[float]

The number of days until the next key rotation.

key_rotation_interval_days: Optional[float]

The number of days between key rotations.

maximum365
minimum21
last_key_rotation_at: Optional[datetime]

The timestamp of the previous key rotation.

formatdate-time
class KeyUpdateResponse:
days_until_next_rotation: Optional[float]

The number of days until the next key rotation.

key_rotation_interval_days: Optional[float]

The number of days between key rotations.

maximum365
minimum21
last_key_rotation_at: Optional[datetime]

The timestamp of the previous key rotation.

formatdate-time
class KeyRotateResponse:
days_until_next_rotation: Optional[float]

The number of days until the next key rotation.

key_rotation_interval_days: Optional[float]

The number of days between key rotations.

maximum365
minimum21
last_key_rotation_at: Optional[datetime]

The timestamp of the previous key rotation.

formatdate-time