Files
threshold/website/content/docs/commands/policies/index.mdx
T
Robert Main 18f469105c Deprecate website folder (#6212)
* Update website folder to indicate deprecation

Adds an alert banner to the top of all MDX files within `/website` to
indicate deprecation

* Update website README
2025-11-04 10:22:10 -05:00

56 lines
2.0 KiB
Plaintext

---
layout: docs
page_title: policies - Command
description: >-
The "policies" command performs operations on Boundary policy resources. Policies codify how long Boundary retains session recordings.
---
⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
> [!IMPORTANT]
> **Documentation Update:** Product documentation previously located in `/website` has moved to the [`hashicorp/web-unified-docs`](https://github.com/hashicorp/web-unified-docs) repository, where all product documentation is now centralized. Please make contributions directly to `web-unified-docs`, since changes to `/website` in this repository will not appear on developer.hashicorp.com.
⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
# 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/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)