`boundary credentials list` — 자격 증명 목록 조회
boundary credentials list — 자격 증명 목록 조회
credentials list 명령어는 상위 스코프나 자원 안에 있는 자격 증명을 목록으로 조회할 때 사용해요. 주로 특정 자격 증명 저장소에 속한 자격 증명을 나열하죠.
본문
예시
아래 예시는 ID가 csst_5GGWwRngd7인 자격 증명 저장소의 모든 자격 증명을 나열해요.
$ credentials list -credential-store-id csst_5GGWwRngd7
예시 출력:
Credential information:
ID: credup_29IUJANN59
Version: 1
Type: username_password
Name: tester
Authorized Actions:
no-op
read
update
delete
ID: credup_6zHHwQWvUS
Version: 1
Type: username_password
Name: support-eng
Authorized Actions:
no-op
read
update
delete
ID: credup_J15mtU4qmy
Version: 1
Type: username_password
Name: ssh-user
Authorized Actions:
no-op
read
update
delete
사용법
$ boundary credentials list [options] [args]
명령어 옵션 (Command options)
-credential-store-id(string: "")— 목록으로 조회할 자격 증명을 포함하고 있는 자격 증명 저장소 자원.BOUNDARY_CREDENTIAL_STORE_ID환경 변수로도 지정할 수 있어요.-filter(string: "")— 설정하면 결과가 반환되기 전에 목록 작업을 필터링해요. 필터는 목록의 각 항목에 대해 동작해요. 필터에는 큰따옴표가 포함되므로 작은따옴표를 사용할 것을 권장해요. 자세한 내용은 'Filtering and listing resources' 문서를 참고하세요.list_token(선택) — 이전list응답에서 반환된 불투명(opaque) 토큰. 값을 주지 않으면 페이지네이션이 처음부터 시작돼요.page_size(선택) — 검색 결과 페이지에 포함할 항목 수를 나타내는 부호 없는 정수. 값을 주지 않거나0을 주면 Boundary는 기본 페이지 크기인 1000개 항목을 사용해요. 설정하면page_size값이 기본 페이지 크기를 덮어써요. 컨트롤러 관리자는 사용자가 요청할 수 있는 최대 페이지 크기를 제한하는max_page_size옵션도 구성할 수 있어요.
CLI 옵션 — 이 명령어 고유 옵션 외에도 모든 CLI 명령어·하위 명령어에 공통으로 적용되는 옵션들이 있어요. 연결(Connection) 옵션, 클라이언트(Client) 옵션, 출력(Output) 옵션, 환경 변수(Environment variables)를 참고하세요.