MENU
      Update Secret Value

        Update Secret Value


        기사 요약

        개요

        Secret 값을 수정합니다.
        REVOKE(삭제 요청) 중인 Secret의 값을 변경할 수 없습니다.

        주의

        모든 스테이지가 입력된 값으로 수정됩니다. (스테이지 값이 empty이면 스테이지 값을 제거합니다.)
        특정 스테이지만 업데이트하려면 Update Secret Stage Value API를 이용해 주십시오.

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

        요청

        요청 파라미터

        파라미터명타입설명
        secretIdStringSecret ID

        요청 바디

        {
          "previous": "string",
          "active": "string",
          "pending": "string"
        }
        JSON
        파라미터명타입설명
        previousString이전 상태 Secret 값
        activeString활성 상태 Secret 값
        pendingString대기 상태 Secret 값

        응답

        응답 바디

        {
          "code": "SUCCESS",
          "data": {
            "encryptedSecretChain": {
              "previous": "string",
              "active": "string",
              "pending": "string"
            }
          }
        }
        JSON
        파라미터명타입설명
        encryptedSecretChain.previousString이전 상태 암호화된 Secret 값
        encryptedSecretChain.activeString활성 상태 암호화된 Secret 값
        encryptedSecretChain.pendingString대기 상태 암호화된 Secret 값

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

        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.