MENU
      Update Protection Key

        Update Protection Key


        기사 요약

        개요

        Secret의 보호 키를 변경합니다.
        REVOKE(삭제 요청) 중인 Secret의 보호 키를 변경할 수 없습니다.

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

        요청

        요청 파라미터

        파라미터명타입설명
        secretIdStringSecret ID

        요청 바디

        {
          "protectionKeyType": "DEFAULT",
          "kmsKeyTag": "string"
        }
        JSON
        파라미터명타입설명
        protectionKeyTypeStringSecret 보호 키 종류(DEFAULT, USER_MANAGED_KEY)
        kmsKeyTagStringKMS 키 태그

        응답

        응답 바디

        {
          "code": "SUCCESS",
          "data": {
            "secretId": "string",
            "protectionKey": {
              "type": "DEFAULT",
              "kmsKeyTag": "string",
              "kmsKeyName": "string"
            }
          }
        }
        JSON
        파라미터명타입설명
        secretIdStringSecret ID
        protectionKey.typeString보호 키 종류 (DEFAULT, USER_MANAGED_KEY)
        protectionKey.kmsKeyTagStringKMS 키 태그
        protectionKey.kmsKeyNameStringKMS 키 이름

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

        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.