auth-tokens 명령어

auth-tokens 명령어

boundary auth-tokens는 Boundary에서 인증 토큰(auth token) 리소스를 관리하는 명령어예요. 인증 토큰은 사용자가 인증한 뒤 받는 토큰으로, 세션이나 API 호출에서 자신을 증명하는 데 쓰여요.

출처: HashiCorp Boundary docs

본문

boundary auth-tokens 명령어는 Boundary의 인증 토큰 리소스를 관리해요.

예제 (Example)

다음 예제 명령어는 기존 인증 토큰들을 재귀적으로(recursively) 나열해요.

$ boundary auth-tokens list -recursive

예제 출력:

Auth Token information:

  ID:                            at_LvUqeYz80B
    Scope ID:                    global
    Approximate Last Used Time:  Sun, 13 Aug 2023 17:22:59 PDT
    Auth Method ID:              ampw_1234567890
    Created Time:                Sun, 13 Aug 2023 17:22:59 PDT
    Expiration Time:             Sun, 20 Aug 2023 17:22:59 PDT
    Updated Time:                Sun, 13 Aug 2023 17:22:59 PDT
    User ID:                     u_1234567890
    Authorized Actions:
      no-op
      read
      read:self
      delete
      delete:self

사용법 (Usage)

Usage: boundary auth-tokens [sub command] [options] [args]

  # ...

Subcommands:
    delete          Delete an auth tokn
    list            List an auth token
    read            Read an auth token

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

  • delete
  • list
  • read

더 알아보기 (Learn more)