* docs: Update meta content - CLI * docs: Edits for consistency * docs: More edits for consistency * Apply batch of suggestions from code review Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com> * Apply batch suggestions from code review Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com> * docs: Remove given id references * Update read.mdx * Update read.mdx --------- Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com>
36 lines
653 B
Plaintext
36 lines
653 B
Plaintext
---
|
|
layout: docs
|
|
page_title: targets read - Command
|
|
description: >-
|
|
The "targets read" command retrieves the details of a target resource.
|
|
---
|
|
|
|
# targets read
|
|
|
|
Command: `targets read`
|
|
|
|
The `targets read` command lets you read the details of a target with a given ID.
|
|
|
|
## Example
|
|
|
|
This example reads the details of a target with the ID `t_1234567890`:
|
|
|
|
```shell-session
|
|
$ boundary targets read -id t_1234567890
|
|
```
|
|
|
|
## Usage
|
|
|
|
<CodeBlockConfig hideClipboard>
|
|
|
|
```shell-session
|
|
$ boundary targets read [options] [args]
|
|
```
|
|
|
|
</CodeBlockConfig>
|
|
|
|
### Command options
|
|
|
|
- `-id=<string>` - The ID of the target you want to read.
|
|
|
|
@include 'cmd-option-note.mdx' |