`boundary credentials read` — 자격 증명 조회

boundary credentials read — 자격 증명 조회

credentials read 명령어는 지정한 ID의 자격 증명에 대한 정보를 조회할 때 사용해요.

출처: HashiCorp Boundary docs

본문

예시

아래 예시는 ID가 credup_29IUJANN59인 자격 증명의 정보를 조회해요.

$ boundary credentials read -id credup_29IUJANN59

예시 출력:

Credential information:

  Created Time:          Tue, 22 Aug 2023 18:26:06 PDT
  Credential Store ID:   csst_5GGWwRngd7
  ID:                    credup_29IUJANN59
  Name:                  tester
  Type:                  username_password
  Updated Time:          Tue, 22 Aug 2023 18:26:06 PDT
  Version:               1

  Scope:
    ID:                  p_1zMlAwGHtH
    Name:                quick-start-project
    Parent Scope ID:     o_R0wbo0H6Zl
    Type:                project

  Authorized Actions:
    no-op
    read
    update
    delete

  Attributes:
    Password HMAC:       bXhHJHgaGz6fpolEpQPd0azcICSgmbVuSLfyhJhmqJY
    Username:            tester

사용법

$ boundary credentials read [options] [args]

명령어 옵션 (Command options)

  • -id (string: "") — 정보를 조회할 자격 증명의 ID.

CLI 옵션 — 이 명령어 고유 옵션 외에도 모든 CLI 명령어·하위 명령어에 공통으로 적용되는 옵션들이 있어요. 연결(Connection) 옵션, 클라이언트(Client) 옵션, 출력(Output) 옵션, 환경 변수(Environment variables)를 참고하세요.