`boundary credential-stores read` — 자격 증명 저장소 조회

boundary credential-stores read — 자격 증명 저장소 조회

credential-stores read 명령어는 특정 ID를 가진 자격 증명 저장소의 정보를 읽을 때 사용해요.

출처: HashiCorp Boundary docs

본문

예시

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

$ boundary credential-stores read -id csvlt_5fvkRjCjou

예시 출력:

Credential Store information:

  Created Time:        Fri, 18 Aug 2023 16:22:02 PDT
  ID:                  csvlt_5fvkRjCjou
  Type:                vault
  Updated Time:        Fri, 18 Aug 2023 16:22:02 PDT
  Version:             1

  Scope:
    ID:                p_tnqESc86qE
    Name:              db-project
    Parent Scope ID:   o_4VUR6ZATqW
    Type:              project

  Authorized Actions:
    no-op
    read
    update
    delete

  Authorized Actions on Credential Store's Collections:
    credential-libraries:
      create
      list

  Attributes:
    Address:           http://127.0.0.1:8200
    Token Status:      expired
    Worker Filter:     "worker" in "/tags/type"

사용법

$ boundary credential-stores read [options] [args]

명령어 옵션 (Command options)

  • -id (string: "") — 정보를 읽을 자격 증명 저장소의 ID.

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