Update secret stage value
- Print
- PDF
Update secret stage value
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Summary
Edit a specific secret stage value.
The value of a secret in the REVOKE
(deletion requested) status can't be changed.
PUT https://secretmanager.apigw.ntruss.com/api/v1/secrets/{secretId}/values/{secret-value-stage}
Request
Request parameters
Parameter name | Type | Description |
---|---|---|
secretId | String | Secret ID |
secret-value-stage | String | Secret stage (previous , active , pending ) |
Request body
{
"value": "string"
}
Parameter name | Type | Description |
---|---|---|
value | String | Secret value (JSON format string) |
Response
Response body
{
"code": "SUCCESS",
"data": {
"decryptedSecretValue": {
"value": "string",
"valueStage": "string"
}
}
}
Parameter name | Type | Description |
---|---|---|
decryptedSecretValue.value | String | Decrypted Secret value |
decryptedSecretValue.valueStage | String | Secret value stage (previous , active , pending ) |
Was this article helpful?