credential-libraries 명령어

credential-libraries 명령어

boundary credential-libraries는 Boundary 자격 증명 라이브러리(credential library) 리소스에 대한 작업을 수행하는 명령어예요. 자격 증명 라이브러리는 세션에 자격 증명을 제공해요. 라이브러리가 반환하는 모든 자격 증명은 접근 제어 관점에서 동등해야 해요.

출처: HashiCorp Boundary docs

본문

boundary credential-libraries 명령어는 Boundary 자격 증명 라이브러리 리소스에 대한 작업을 수행해요. 자격 증명 라이브러리는 세션에 자격 증명을 제공해요. 라이브러리가 반환하는 모든 자격 증명은 접근 제어 관점에서 동등해야 해요.

자격 증명 라이브러리는 자신이 반환하는 자격 증명의 수명 주기(lifecycle)를 관리할 책임이 있어요. 동적 시크릿(dynamic secret)의 경우 생성·갱신·폐기를 포함해요. 회전 자격 증명(rotating credential)의 경우 체크아웃·체크인·시크릿 회전을 포함해요. 시스템은 세션을 위해 라이브러리에서 자격 증명을 가져오고, 세션이 종료되면 라이브러리에 알려줘요. 자격 증명 라이브러리는 단일 자격 증명 스토어(credential store)에 속해요.

예제 (Examples)

다음 예제는 ID가 clvlt_QYnQPAjA24인 자격 증명 라이브러리의 정보를 가져와요.

$ boundary credential-libraries read -id clvlt_QYnQPAjA24

예제 출력:

Credential Library information:

  Created Time:          Fri, 18 Aug 2023 16:22:29 PDT
  Credential Store ID:   csvlt_5fvkRjCjou
  ID:                    clvlt_QYnQPAjA24
  Name:                  northwind dba
  Type:                  vault-generic
  Updated Time:          Fri, 18 Aug 2023 16:22:29 PDT
  Version:               1

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

  Authorized Actions:
    no-op
    read
    update
    delete

  Attributes:
    HTTP Method:         GET
    Path:                database/creds/dba

사용법 (Usage)

Usage: boundary credential-libraries [sub command] [options] [args]

  # ...

Subcommands:
    create    Create a credential library
    delete    Delete a credential library
    list      List a credential library
    read      Read a credential library
    update    Update a credential library

더 자세한 정보, 예제, 사용법은 사이드바에서 하위 명령어 이름을 클릭하거나 아래 링크를 참고하세요.

  • create
  • delete
  • list
  • read
  • update

더 알아보기 (Learn more)