You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
boundary/website/content/docs/commands/credential-libraries/list.mdx

68 lines
2.3 KiB

---
layout: docs
page_title: credential-libraries list - Command
description: |-
The "credential-libraries list" command lists credential libraries within an enclosing scope or resource.
---
# credential-libraries list
Command: `boundary credential-libraries list`
The `credential-libraries list` command lists credential libraries within an enclosing scope or resource.
## Examples
The following example lists all credential libraries for a credential store with the ID `clvlt_QYnQPAjA24`:
```shell-session
$ boundary credential-libraries list \
-credential-store-id
```
**Example output:**
<CodeBlockConfig hideClipboard>
```plaintext
Credential Library information:
ID: clvlt_QYnQPAjA24
Version: 1
Type: vault-generic
Name: northwind dba
Authorized Actions:
no-op
read
update
delete
```
</CodeBlockConfig>
## Usage
<CodeBlockConfig hideClipboard>
```shell-session
$ boundary credential-libraries list [options] [args]
```
</CodeBlockConfig>
### Command options
- `-credential-store-id` `(string: "")` - The credential store resource to list credential libraries for.
You can also specify the credential store using the **BOUNDARY_CREDENTIAL_STORE_ID** environment variable.
- `-filter` `(string: "")` - If set, Boundary filters the list operation before the results are returned.
The filter operates against each item in the list.
We recommend that you use single quotes, because the filters contain double quotes.
Refer to the [Filter resource listings documentation](/boundary/docs/concepts/filtering/resource-listing) for more details.
- `list_token` (optional) - An opaque token that is returned from the previous `list` response.
If you do not supply a value, pagination starts from the beginning.
- `page_size` (optional) - An unsigned integer that indicates the number of items that should be included on the page of search results.
If you do not provide a value, or if you provide a value of `0`, Boundary uses the default page size of 1000 items.
If you configure it, the `page_size` value overrides the default page size.
Controller administrators can also configure a `max_page_size` option that constrains the maximum page size a user can request.
@include 'cmd-option-note.mdx'