Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 8.97 KB

File metadata and controls

12 lines (8 loc) · 8.97 KB

RotateTokenResponse

Describes the response body of the /rotatetoken API call

Fields

Field Type Required Description
raw_secret Optional[str] New raw secret
created_at Optional[int] Unix timestamp in seconds when the new secret value is assigned to the token. The token needs to be rotated before rotationPeriodMinutes past the createdAt timestamp otherwise it would be rendered unusable.
rotation_period_minutes Optional[int] Refers to the time period in minutes before which this token needs to be rotated. It is required to rotate the token within the specified rotationPeriodMinutes after each /rotatetoken call, otherwise the tokens would expire. Note that the token would still expire at expiresAt timestamp provided during token creation even if the token is being regularly rotated. rotationPeriodMinutes property is inherited from the parent token being rotated