2023-09-12 11:37:31 -07:00
|
|
|
---
|
|
|
|
|
layout: docs
|
|
|
|
|
page_title: host-catalogs read - Command
|
2024-12-17 14:13:18 -05:00
|
|
|
description: >-
|
|
|
|
|
The "host-catalogs read" command retrieves host catalog information for a host catalog resource.
|
2023-09-12 11:37:31 -07:00
|
|
|
---
|
|
|
|
|
|
|
|
|
|
# host-catalogs read
|
|
|
|
|
|
|
|
|
|
Command: `boundary host-catalogs read`
|
|
|
|
|
|
|
|
|
|
The `boundary host-catalogs read` command lets you read information about a Boundary host catalog using its given ID.
|
|
|
|
|
|
|
|
|
|
## Example
|
|
|
|
|
|
|
|
|
|
This example reads the details for a host catalog with the ID `_1234567890`:
|
|
|
|
|
|
|
|
|
|
```shell-session
|
|
|
|
|
$ boundary host-catalogs read -id _1234567890
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
<CodeBlockConfig hideClipboard>
|
|
|
|
|
|
|
|
|
|
```shell-session
|
|
|
|
|
$ boundary host-catalogs read [options] [args]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
</CodeBlockConfig>
|
|
|
|
|
|
|
|
|
|
### Command options
|
|
|
|
|
|
|
|
|
|
- `-id=<string>` - The ID of the host catalog whose information you want to read.
|
|
|
|
|
|
|
|
|
|
@include 'cmd-option-note.mdx'
|