Update Pending Stage

Prev Next

Overview

Register a pending stage value.
Unlike Add pending stage, which automatically populates a value for the secret rotation and registers it as a pending stage, you can specify a value manually. You can use Generate random secret to register with a value that is generated based on the desired criteria.

PUT https://secretmanager.apigw.ntruss.com/action/v1/secrets/{secretId}/jobs/{jobToken}/pending

Request

Request parameter

Parameter name Type Description
secretId String Secret ID (automatically injected via trigger, can be obtained as an environment variable: Replace secret action example code)
jobToken String Job action token (automatically injected via trigger, can be obtained as an environment variable: Replace secret action example code)

Request body

{
  "value": "string"
}
Parameter name Type Description
value String Secret value (JSON format string)

Response

Response body

{
  "code": "SUCCESS",
  "data": {
    "pending": "string"
  }
}
Parameter name Type Description
pending String Automatically generated pending stage value