Update secret stage value
    • PDF

    Update secret stage value

    • PDF

    Article summary

    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 nameTypeDescription
    secretIdStringSecret ID
    secret-value-stageStringSecret stage (previous, active, pending)

    Request body

    {
      "value": "string"
    }
    
    Parameter nameTypeDescription
    valueStringSecret value (JSON format string)

    Response

    Response body

    {
      "code": "SUCCESS",
      "data": {
        "decryptedSecretValue": {
          "value": "string",
          "valueStage": "string"
        }
      }
    }
    
    Parameter nameTypeDescription
    decryptedSecretValue.valueStringDecrypted Secret value
    decryptedSecretValue.valueStageStringSecret value stage (previous, active, pending)

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.