MENU
      Update Rotation Period

        Update Rotation Period


        Article summary

        Overview

        Edit the secret auto-rotation cycle.

        PUT https://secretmanager.apigw.ntruss.com/api/v1/secrets/{secretId}/rotation-period
        HTTP

        Request

        Request parameter

        Parameter nameTypeDescription
        secretIdStringSecret ID

        Request body

        {
          "rotationPeriod": 730
        }
        JSON
        Parameter nameTypeDescription
        rotationPeriodIntegerAutomatic rotation cycle

        Response

        Response body

        {
          "code": "SUCCESS",
          "data": {
            "secretId": "string",
            "autoRotationYN": "Y",
            "autoRotationPeriod": 0,
            "nextRotationDate": 0
          }
        }
        JSON
        Parameter nameTypeDescription
        secretIdStringSecret ID
        autoRotationYNStringAutomatic rotation status (Y)
        autoRotationPeriodIntegerAutomatic rotation cycle
        nextRotationDateIntegerNext rotation date

        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.