`boundary credentials` — 자격 증명 관리

boundary credentials — 자격 증명 관리

credentials 명령어는 Boundary의 정적 자격 증명 저장소(static credential store)에 있는 자격 증명(credential) 자원을 만들고 관리할 때 사용해요. 참고로 이 명령어는 Vault 자격 증명 저장소에 있는 자격 증명은 조회·생성·관리할 수 없어요.

자격 증명은 하나 이상의 비밀(secret)을 담는 데이터 구조예요. 세션(session)에서 호스트에 대한 신원(identity)을 권한·기능 집합과 묶어주는 역할을 하죠.

출처: HashiCorp Boundary docs

본문

예시

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

$ boundary credentials read -id credup_J15mtU4qmy

예시 출력:

Credential information:

  Created Time:          Tue, 22 Aug 2023 15:56:07 PDT
  Credential Store ID:   csst_5GGWwRngd7
  ID:                    credup_J15mtU4qmy
  Name:                  ssh-user
  Type:                  username_password
  Updated Time:          Tue, 22 Aug 2023 15:56:07 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:            ssh-user

사용법

Usage: boundary credentials [sub command] [options] [args]

하위 명령어는 다음과 같아요.

하위 명령어 설명
create 자격 증명 생성
delete 자격 증명 삭제
list 자격 증명 목록 조회
read 자격 증명 읽기
update 자격 증명 갱신

각 하위 명령어의 자세한 사용법과 예시는 사이드바의 이름을 클릭하거나 아래 링크를 참고하면 돼요.

  • create
  • delete
  • list
  • read
  • update