Enable auto rotation
- Print
- PDF
Enable auto rotation
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Summary
Set automatic rotation of a secret.
POST https://secretmanager.apigw.ntruss.com/api/v1/secrets/{secretId}/enable-auto-rotation
Request
Request parameters
Parameter name | Type | Description |
---|---|---|
secretId | String | Secret ID |
Request body
{
"rotationPeriod": 0,
"triggerId": "string"
}
Parameter name | Type | Description |
---|---|---|
rotationPeriod | Integer | Rotation cycle (default: 90) |
triggerId | String | Trigger ID |
Response
Response body
{
"code": "SUCCESS",
"data": {
"secretId": "string",
"autoRotationYN": "Y",
"autoRotationPeriod": 0,
"nextRotationDate": 0,
"trigger": {
"id": "string",
"name": "string",
"url": "string",
"recentlyExecutedAction": "string"
}
}
}
Parameter name | Type | Description |
---|---|---|
secretId | String | Secret ID |
autoRotationYN | String | Automatic rotation status (Y ) |
autoRotationPeriod | Integer | Automatic rotation cycle |
nextRotationDate | Integer | Next rotation date |
trigger.id | String | Trigger ID |
trigger.name | String | Trigger name |
trigger.url | String | Trigger URL |
trigger.recentlyExecutedAction | String | Recently executed action |
Was this article helpful?