Update rotation period
- Print
- PDF
Update rotation period
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Summary
Edit the secret auto-rotation cycle.
PUT https://secretmanager.apigw.ntruss.com/api/v1/secrets/{secretId}/rotation-period
Request
Request parameters
Parameter name | Type | Description |
---|---|---|
secretId | String | Secret ID |
Request body
{
"rotationPeriod": 730
}
Parameter name | Type | Description |
---|---|---|
rotationPeriod | Integer | Automatic rotation cycle |
Response
Response body
{
"code": "SUCCESS",
"data": {
"secretId": "string",
"autoRotationYN": "Y",
"autoRotationPeriod": 0,
"nextRotationDate": 0
}
}
Parameter name | Type | Description |
---|---|---|
secretId | String | Secret ID |
autoRotationYN | String | Automatic rotation status (Y ) |
autoRotationPeriod | Integer | Automatic rotation cycle |
nextRotationDate | Integer | Next rotation date |
Was this article helpful?