Update secret value
- Print
- PDF
Update secret value
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Summary
Edit secret values.
The value of a secret in the REVOKE
(deletion requested) status can't be changed.
Caution
All stages are edited with the entered values. (If the stage value is empty, it removes the stage value.)
To update only a specific stage, use the Update secret stage value API.
PUT https://secretmanager.apigw.ntruss.com/api/v1/secrets/{secretId}/values
Request
Request parameters
Parameter name | Type | Description |
---|---|---|
secretId | String | Secret ID |
Request body
{
"previous": "string",
"active": "string",
"pending": "string"
}
Parameter name | Type | Description |
---|---|---|
previous | String | Previous status secret value |
active | String | Active status secret value |
pending | String | Pending status Secret value |
Response
Response body
{
"code": "SUCCESS",
"data": {
"encryptedSecretChain": {
"previous": "string",
"active": "string",
"pending": "string"
}
}
}
Parameter name | Type | Description |
---|---|---|
encryptedSecretChain.previous | String | Previous status encrypted secret value |
encryptedSecretChain.active | String | Active status encrypted secret value |
encryptedSecretChain.pending | String | Pending status encrypted secret value |
Was this article helpful?