38 lines
852 B
Plaintext
38 lines
852 B
Plaintext
---
|
|||
|
|
layout: docs
|
||
|
|
page_title: policies read - Command
|
||
|
|
description: |-
|
||
|
|
The "policies read" command lets you read information about Boundary policies.
|
||
|
|
---
|
||
|
|
|
||
|
|
# policies read
|
||
|
|
|
||
|
|
<EnterpriseAlert product="boundary">This feature requires <a href="https://www.hashicorp.com/products/boundary">HCP Boundary or Boundary Enterprise</a></EnterpriseAlert>
|
||
|
|
|
||
|
|
Command: `boundary policies read`
|
||
|
|
|
||
|
|
The `boundary policies read` command lets you read information about Boundary policies.
|
||
|
|
|
||
|
|
## Example
|
||
|
|
|
||
|
|
This example reads the details of a policy with the ID `p_1234567890`:
|
||
|
|
|
||
|
|
```shell-session
|
||
|
|
$ boundary policies read -id p_1234567890
|
||
|
|
```
|
||
|
|
|
||
|
|
## Usage
|
||
|
|
|
||
|
|
<CodeBlockConfig hideClipboard>
|
||
|
|
|
||
|
|
```shell-session
|
||
|
|
$ boundary policies read [options] [args]
|
||
|
|
```
|
||
|
|
|
||
|
|
</CodeBlockConfig>
|
||
|
|
|
||
|
|
### Command options
|
||
|
|
|
||
|
|
- `-id=<string>` - The ID of the policy you want to read.
|
||
|
|
|
||
|
|
@include 'cmd-option-note.mdx'
|