Get secret detail
- Print
- PDF
Get secret detail
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Summary
View secret details.
GET https://secretmanager.apigw.ntruss.com/api/v1/secrets/{secretId}
Request
Request parameters
Parameter name | Type | Description |
---|---|---|
secretId | String | Secret ID |
Request body
None
Response
Response body
{
"code": "SUCCESS",
"data": {
"secretId": "string",
"secretName": "string",
"secretStatus": "ENABLE",
"secretType": "string",
"memo": "string",
"region": "string",
"expectedDestroyDate": 0,
"updateDate": 0,
"registerDate": 0,
"autoRotationYN": "Y",
"autoRotationPeriod": 0,
"nextRotationDate": 0,
"rotationPhase": "NONE",
"lastRotationDate": 0,
"lastRotationResultId": "string",
"trigger": {
"id": "string",
"name": "string",
"url": "string"
},
"protectionKey": {
"type": "DEFAULT",
"kmsKeyTag": "string",
"kmsKeyName": "string"
}
}
}
Parameter name | Type | Description |
---|---|---|
secretId | String | Secret ID |
secretName | String | Secret name |
secretStatus | String | Secret status (ENABLE , DISABLE , REVOKE , ROTATING , DESTROYED ) |
secretType | String | Secret type (BASIC ) |
memo | String | Notes |
region | String | Region code |
expectedDestroyDate | Integer | Estimated destruction date |
updateDate | Integer | Update date |
registerDate | Integer | Registration date |
autoRotationYN | String | Automatic rotation status (Y ) |
autoRotationPeriod | Integer | Automatic rotation cycle |
nextRotationDate | Integer | Next rotation date |
rotationPhase | String | Rotation step (NONE ) |
lastRotationDate | Integer | Last rotation date |
lastRotationResultId | String | Last rotation result ID |
trigger.id | String | Trigger ID |
content.name | string | Trigger name |
trigger.url | String | Trigger URL |
protectionKey.type | String | Secret protection key type (DEFAULT , USER_MANAGED_KEY ) |
protectionKey.kmsKeyTag | String | KMS key tag |
protectionKey.kmsKeyName | String | KMS key name |
Was this article helpful?