MENU
      Update Secret Stage Value

        Update Secret Stage Value


        Article summary

        Overview

        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}
        HTTP

        Request

        Request parameter

        Parameter nameTypeDescription
        secretIdStringSecret ID
        secret-value-stageStringSecret stage (previous, active, pending)

        Request body

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

        Response

        Response body

        {
          "code": "SUCCESS",
          "data": {
            "decryptedSecretValue": {
              "value": "string",
              "valueStage": "string"
            }
          }
        }
        JSON
        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.