MENU
      Start Rotation Job

        Start Rotation Job


        Article summary

        Overview

        Start a secret rotation job.
        Secret Manager is notified that the rotation job has started, and the secret's rotation status changes.
        The current secret chain value is returned.

        POST https://secretmanager.apigw.ntruss.com/action/v1/secrets/{secretId}/jobs/{jobToken}/start
        HTTP

        Request

        Request parameter

        Parameter nameTypeDescription
        secretIdStringSecret ID (automatically injected via trigger, can be obtained as an environment variable: Replace secret action example code)
        jobTokenStringJob action token (automatically injected via trigger, can be obtained as an environment variable: Replace secret action example code)

        Request body

        None
        JSON

        Response

        Response body

        {
          "code": "SUCCESS",
          "data": {
            "decryptedSecretChain": {
              "previous": "string",
              "active": "string",
              "pending": "string"
            },
            "rotationTargets": [
              "string"
            ]
          }
        }
        JSON
        Parameter nameTypeDescription
        decryptedSecretChain.previousStringPrevious status secret value
        decryptedSecretChain.activeStringCurrent status secret value
        decryptedSecretChain.pendingStringPending status secret value
        rotationTargetsString[]List of secret values to rotate

        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.