Files
threshold/website/content/docs/commands/policies/index.mdx
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

51 lines
1.5 KiB
Plaintext
Raw Normal View History

---
layout: docs
page_title: policies - Command
2024-12-17 14:13:18 -05:00
description: >-
The "policies" command performs operations on Boundary policy resources. Policies codify how long Boundary retains session recordings.
---
# policies
<EnterpriseAlert product="boundary">This feature requires <a href="https://www.hashicorp.com/products/boundary">HCP Boundary or Boundary Enterprise</a></EnterpriseAlert>
Command: `boundary policies`
The `policies` command lets you perform operations on Boundary policies.
Storage policies codify how long session recordings must be kept and when they should be deleted.
For more information, refer to the [storage policies](/boundary/docs/concepts/domain-model/storage-policy) documentation.
## Example
The following command reads a policy with the id `pst_1234567890`:
```shell-session
$ boundary policies read -id chr_1234567890
```
## Usage
<CodeBlockConfig hideClipboard>
```shell-session
Usage: boundary policies <subcommand> [options] [args]
# ...
Subcommands:
create Create a policy
delete Delete a policy
list List a policy
read Read a policy
update Update a policy
```
</CodeBlockConfig>
For more information, examples, and usage, click on the name
of the subcommand in the sidebar or one of the links below:
- [create](/boundary/docs/commands/policies/create)
- [delete](/boundary/docs/commands/policies/delete)
- [list](/boundary/docs/commands/policies/list)
- [read](/boundary/docs/commands/policies/read)
- [update](/boundary/docs/commands/policies/update)