auth-methods read 명령어

auth-methods read 명령어

boundary auth-methods read는 주어진 ID의 인증 메서드(auth method)를 읽어오는 명령어예요. 인증 메서드의 속성, 스코프, 허용된 작업 등을 확인할 수 있어요.

출처: HashiCorp Boundary docs

본문

boundary auth-methods read 명령어는 주어진 ID의 인증 메서드를 읽어요.

예제 (Examples)

다음 예제는 ID가 amoidc_AliCbVihqv인 인증 메서드의 상세 정보를 읽어요.

$ boundary auth-methods read -id amoidc_AliCbVihqv

예제 출력:

Auth Method information:

  Created Time:         Thu, 13 May 2021 17:01:02 MDT
  Description:          OIDC auth method for Auth0
  ID:                   amoidc_AliCbVihqv
  Name:                 Auth0
  Type:                 oidc
  Updated Time:         Thu, 13 May 2021 17:01:02 MDT
  Version:              2

  Scope:
    ID:                 o_1234567890
    Name:               Generated org scope
    Parent Scope ID:    global
    Type:               org

  Authorized Actions:
    no-op
    read
    update
    delete
    change-state
    authenticate

  Authorized Actions on Auth Method's Collections:
    accounts:
      create
      list

  Attributes:
    api_url_prefix:     http://localhost:9200
    callback_url:       http://localhost:9200/v1/auth-methods/oidc:authenticate:callback
    client_id:          zbaJLTZh3n14WqSV7qQ9onuIVRDaZdzx
    client_secret_hmac: AhyxTBqlZpnny78iA9M7QHKAKocI17bjwvS70B1ccg0
    issuer:             https://dev-1vdl8c0q.us.auth0.com/
    signing_algorithms: [RS256]
    state:              active-public

사용법 (Usage)

$ boundary auth-methods read [options] [args]

명령 옵션 (Command options)

  • -id (string: "") - 읽어올 인증 메서드의 ID예요.

CLI 옵션 (CLI options)

명령어 고유 옵션 외에도 모든 Boundary CLI 명령어·하위 명령어에 공통으로 적용되는 옵션들이 있어요.

  • 연결 옵션 (Connection options)
  • 클라이언트 옵션 (Client options)
  • 출력 옵션 (Output options)
  • 환경 변수 (Environment variables)

더 알아보기 (Learn more)