Files
threshold/website/content/docs/commands/aliases/list.mdx
T
f978993724 docs: Aliases overview, domain model, CLI docs (#4705) (#4751)
* docs: Aliases overview, domain model, CLI docs (#4705)

* docs: Aliases overview and domain model

* docs: Add new topics to TOC

* docs: Updates

* docs: Update CLI topics, add usage

* docs: Edits to value description

* docs: Add how-to for creating new target

* docs: Add procedure to update existing alias from CLI

* docs: Update targets domain model topic

* Apply batch suggestions from code review

Co-authored-by: Adam Bouhmad <adbouhmad@gmail.com>
Co-authored-by: Todd <github@quaddi.com>

* docs: Fix spelling

* docs: Remove ferry references

* docs: Remove note about aliases not working with generic commands

* docs: Updates to naming conventions

* switches Tabs order and adds tab groups

* fixes shell-session line breaks

* Apply batch of suggestions from code review

Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com>

* docs: Delete redundant sentence

* docs: Fix jump links

---------

Co-authored-by: Adam Bouhmad <adbouhmad@gmail.com>
Co-authored-by: Todd <github@quaddi.com>
Co-authored-by: Robin Beck <stellarsquall@protonmail.ch>
Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com>

* rerun tests

---------

Co-authored-by: Adam Bouhmad <adbouhmad@gmail.com>
Co-authored-by: Todd <github@quaddi.com>
Co-authored-by: Robin Beck <stellarsquall@protonmail.ch>
Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com>
2024-04-30 14:31:48 -04:00

45 lines
1.3 KiB
Plaintext

---
layout: docs
page_title: aliases list - Command
description: |-
The "aliases list" command lists the aliases within a given scope or resource.
---
# aliases list
Command: `aliases list`
The `aliases list` command lets you list the aliases within a given scope or resource.
## Example
This example lists all aliases within the global scope.
At this time, you can only create aliases in the global scope.
```shell-session
$ boundary aliases list
```
## Usage
<CodeBlockConfig hideClipboard>
```shell-session
$ boundary aliases list [options] [args]
```
</CodeBlockConfig>
### Command options
- `-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.
- `recursive` - If set, runs the list operation recursively on any child scopes, if the type supports it.
The default value is `false`.
- `scope-id=<string>` - The scope from which to list the aliases.
The default value is `global`.
You can also specify this value using the **BOUNDARY_SCOPE_ID** environment variable.
@include 'cmd-option-note.mdx'