MENU
      Get Secret Detail

        Get Secret Detail


        기사 요약

        개요

        Secret 상세 정보를 조회합니다.

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

        요청

        요청 파라미터

        파라미터명타입설명
        secretIdStringSecret ID

        요청 바디

        None
        JSON

        응답

        응답 바디

        {
          "code": "SUCCESS",
          "data": {
            "secretId": "string",
            "secretName": "string",
            "secretStatus": "ENABLE",
            "secretType": "string",
            "memo": "string",
            "region": "string",
            "expectedDestroyDate": 0,
            "updateDate": 0,
            "registerDate": 0,
            "autoRotationYN": "Y",
            "autoRotationPeriod": 0,
            "nextRotationDate": 0,
            "rotationPhase": "NONE",
            "lastRotationDate": 0,
            "lastRotationResultId": "string",
            "trigger": {
              "id": "string",
              "name": "string",
              "url": "string"
            },
            "protectionKey": {
              "type": "DEFAULT",
              "kmsKeyTag": "string",
              "kmsKeyName": "string"
            }
          }
        }
        JSON
        파라미터명타입설명
        secretIdStringSecret ID
        secretNameStringSecret 이름
        secretStatusStringSecret 상태(ENABLE, DISABLE, REVOKE, ROTATING, DESTROYED)
        secretTypeStringSecret 종류(BASIC)
        memoString메모
        regionString지역 코드
        expectedDestroyDateInteger예상 파기 날짜
        updateDateInteger업데이트 날짜
        registerDateInteger등록 날짜
        autoRotationYNString자동 교체 여부 (Y)
        autoRotationPeriodInteger자동 교체 주기
        nextRotationDateInteger다음 교체 날짜
        rotationPhaseString교체 단계 (NONE)
        lastRotationDateInteger마지막 교체 날짜
        lastRotationResultIdString마지막 교체 결과 ID
        trigger.idString트리거 ID
        trigger.nameString트리거 이름
        trigger.urlString트리거 URL
        protectionKey.typeStringSecret 보호키 타입(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.