* docs: IA reorganization * docs: Updates * docs: Updates * docs: Fix links * docs: Updates * docs: Fix a typo * docs: Fix client agent topic * docs: Update Client Agent nav * docs: Fix conflict * docs: Fix a typo in Client Agent docs (#5853) * docs: Fix client agent topic * docs: Updates * docs: Updates * docs: Updates * docs: Updates * docs: Fixes get started and operations links * docs: Update nav * docs: Partials * docs: Unix partials * docs: Worker partials * docs: Updates * docs: Update workers and targets * docs: Updates * docs: Updates * docs: Fixes link * docs: Updates after sync review * docs: Updates from review feedback * docs: Move worker filter examples * docs: Fix links * docs: Updates for filters based on working session * docs: Fixes broken links * docs: Add links to other filter topics * docs: Update list intro * docs: Adds link * docs: Fixes redirects * docs: Fixes redirects * docs: Deleted mysql page from TOC * docs: Add versioned redirect * docs: Adds versioned redirects * docs: Adds versioned redirects * docs: Update redirects * docs: Update redirects * docs: Redirect fixes * docs: Update redirect format * docs: Fix a typo * docs: Fixes redirects * docs: Fixes redirect * docs: Adds links out to client agent troubleshooting * uses /etc/boundary.d/ as recommended installation directory (#6003) * docs: Updates legacy io links * docs: Fixes redirects * docs: Fix redirect * docs: Restoring deleted file --------- Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com>
51 lines
1.5 KiB
Plaintext
51 lines
1.5 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.
|
|
---
|
|
|
|
# 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) |