mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-08 16:24:51 -04:00
Merge pull request #4580 from tavislikedavis/patch-1
Update policies.html.md
This commit is contained in:
commit
91b9ffdb33
1 changed files with 1 additions and 1 deletions
|
|
@ -496,7 +496,7 @@ Policies may be created (uploaded) via the CLI or via the API. To create a new
|
|||
policy in Vault:
|
||||
|
||||
```sh
|
||||
$ vault write sys/policy/my-policy policy=@my-policy.hcl
|
||||
$ vault policy write policy-name policy-file.hcl
|
||||
```
|
||||
|
||||
-> The `@` tells Vault to read from a file on disk. In the example above, Vault
|
||||
|
|
|
|||
Loading…
Reference in a new issue