auth-tokens read 명령어
auth-tokens read 명령어
boundary auth-tokens read는 인증 토큰(auth token)의 ID를 받아 해당 토큰의 상세 정보를 읽어오는 명령어예요.
본문
boundary auth-tokens read 명령어는 주어진 ID의 인증 토큰을 읽어요.
예제 (Examples)
다음 예제는 ID가 at_Gvd3jsqSO2인 인증 토큰의 상세 정보를 읽어요.
$ boundary auth-tokens read -id at_Gvd3jsqSO2
예제 출력:
Auth Token information:
Approximate Last Used Time: Sun, 13 Aug 2023 18:04:34 PDT
Auth Method ID: ampw_1234567890
Created Time: Sun, 13 Aug 2023 18:04:34 PDT
Expiration Time: Sun, 20 Aug 2023 18:04:34 PDT
ID: at_Gvd3jsqSO2
Updated Time: Sun, 13 Aug 2023 18:04:34 PDT
User ID: u_1234567890
Scope:
ID: global
Name: global
Type: global
Authorized Actions:
no-op
read
read:self
delete
delete:self
사용법 (Usage)
$ boundary auth-tokens read [options] [args]
명령 옵션 (Command options)
-id(string: "") - 읽어올 인증 토큰의 ID예요.
CLI 옵션 (CLI options)
명령어 고유 옵션 외에도 모든 Boundary CLI 명령어·하위 명령어에 공통으로 적용되는 옵션들이 있어요.
- 연결 옵션 (Connection options)
- 클라이언트 옵션 (Client options)
- 출력 옵션 (Output options)
- 환경 변수 (Environment variables)