authenticate 명령어

authenticate 명령어

boundary authenticate는 사용자가 지정한 인증 메서드(auth method)로 Boundary 커맨드라인 클라이언트를 인증하는 명령어예요. ldap, oidc, password 세 가지 하위 명령어로 나뉘어요.

출처: HashiCorp Boundary docs

본문

boundary authenticate 명령어는 지정한 인증 메서드를 사용해 Boundary 커맨드라인 클라이언트를 인증해요.

예제 (Examples)

다음 예제는 인증 메서드 ID가 amoidc_q7jAdI1QgA인 설정된 OIDC 인증 메서드를 사용해 Boundary CLI를 인증해요.

$ boundary authenticate oidc -auth-method-id amoidc_q7jAdI1QgA

예제 출력:

Opening returned authentication URL in your browser...

Authentication information:

  Account ID:      acctoidc_oztPFBFesH
  Auth Method ID:  amoidc_oHt4HQFCrN
  Expiration Time: Thu, 13 May 2021 17:01:11 MDT
  User ID:         u_JCRQP3ID7l

The token was successfully stored in the chosen keyring and is not displayed here.

사용법 (Usage)

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

  # ...

Subcommands:
    ldap        Invoke the ldap auth method to authenticate with Boundary
    oidc        Invoke the OIDC auth method to authenticate with Boundary
    password    Invoke the password auth method to authenticate with Boundary

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

  • ldap
  • oidc
  • password

더 알아보기 (Learn more)