MENU
      Enable Auto Rotation

        Enable Auto Rotation


        기사 요약

        개요

        Secret의 자동 교체를 설정합니다.

        POST https://secretmanager.apigw.ntruss.com/api/v1/secrets/{secretId}/enable-auto-rotation
        HTTP

        요청

        요청 파라미터

        파라미터명타입설명
        secretIdStringSecret ID

        요청 바디

        {
          "rotationPeriod": 0,
          "triggerId": "string"
        }
        JSON
        파라미터명타입설명
        rotationPeriodInteger교체 주기 (기본값: 90)
        triggerIdString트리거 ID

        응답

        응답 바디

        {
          "code": "SUCCESS",
          "data": {
            "secretId": "string",
            "autoRotationYN": "Y",
            "autoRotationPeriod": 0,
            "nextRotationDate": 0,
            "trigger": {
              "id": "string",
              "name": "string",
              "url": "string",
              "recentlyExecutedAction": "string"
            }
          }
        }
        JSON
        파라미터명타입설명
        secretIdStringSecret ID
        autoRotationYNString자동 회전 여부 (Y)
        autoRotationPeriodInteger자동 회전 주기
        nextRotationDateInteger다음 회전 날짜
        trigger.idString트리거 ID
        trigger.nameString트리거 이름
        trigger.urlString트리거 URL
        trigger.recentlyExecutedActionString최근 실행된 액션

        이 문서가 도움이 되었습니까?

        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.