auth-methods list 명령어
auth-methods list 명령어
boundary auth-methods list는 감싸고 있는 스코프(scope)나 리소스 안의 인증 메서드(auth method)를 나열하는 명령어예요. 하위 스코프까지 재귀적으로 조회할 수도 있어요.
본문
boundary auth-methods list 명령어는 감싸고 있는 스코프나 리소스 안의 인증 메서드를 나열해요.
예제 (Examples)
다음 예제는 기본 global 스코프에서, 가능하면 하위 스코프까지 재귀적으로 인증 메서드를 나열해요.
$ boundary auth-methods list -recursive
예제 출력:
Auth Method information:
ID: amoidc_1234567890
Scope ID: global
Version: 1
Type: oidc
Name: Generated global scope initial oidc auth method
Description: Provides initial administrative and unprivileged authentication into Boundary
Authorized Actions:
no-op
read
update
delete
change-state
authenticate
ID: ampw_1234567890
Scope ID: global
Version: 1
Type: password
Name: Generated global scope initial password auth method
Description: Provides initial administrative and unprivileged authentication into Boundary
Is Primary For Scope: true
Authorized Actions:
no-op
read
update
delete
authenticate
사용법 (Usage)
$ boundary auth-methods list [options] [args]
명령 옵션 (Command options)
-filter(string: "") - 설정하면 목록이 반환되기 전에 목록 작업이 필터링돼요. 필터는 목록의 각 항목에 대해 적용돼요. 필터는 큰따옴표를 포함하기 때문에 작은따옴표를 쓰는 것을 권장해요.-recursive- 설정하면 유형이 지원하는 경우 하위 스코프로 재귀적으로 목록 작업을 적용해요. 기본값은false예요.-scope-id(string: "") - 요청을 보낼 스코프예요. 기본 스코프는global이에요. 스코프는BOUNDARY_SCOPE_ID환경 변수로도 지정할 수 있어요.list_token(선택) - 이전 목록 응답에서 반환된 불투명한 토큰이에요. 값을 주지 않으면 페이지네이션이 처음부터 시작돼요.page_size(선택) - 검색 결과 페이지에 포함할 항목 수를 나타내는 부호 없는 정수예요. 값을 주지 않거나0을 주면 Boundary는 기본 페이지 크기인 1000개 항목을 사용해요. 설정했다면page_size값이 기본 페이지 크기를 덮어써요. 컨트롤러 관리자는 사용자가 요청할 수 있는 최대 페이지 크기를 제한하는max_page_size옵션도 설정할 수 있어요.
CLI 옵션 (CLI options)
명령어 고유 옵션 외에도 모든 Boundary CLI 명령어·하위 명령어에 공통으로 적용되는 옵션들이 있어요.
- 연결 옵션 (Connection options)
- 클라이언트 옵션 (Client options)
- 출력 옵션 (Output options)
- 환경 변수 (Environment variables)