Update rotation period
    • PDF

    Update rotation period

    • PDF

    Article summary

    Summary

    Edit the secret auto-rotation cycle.

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

    Request

    Request parameters

    Parameter nameTypeDescription
    secretIdStringSecret ID

    Request body

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

    Response

    Response body

    {
      "code": "SUCCESS",
      "data": {
        "secretId": "string",
        "autoRotationYN": "Y",
        "autoRotationPeriod": 0,
        "nextRotationDate": 0
      }
    }
    
    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.