mirror of
https://github.com/hashicorp/vault.git
synced 2026-04-22 14:48:40 -04:00
714 B
714 B
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| docs | policy fmt - Command | docs-commands-policy-fmt | The "policy fmt" formats a local policy file to the policy specification. This command will overwrite the file at the given PATH with the properly-formatted policy file contents. |
policy fmt
The policy fmt formats a local policy file to the policy specification. This
command will overwrite the file at the given PATH with the properly-formatted
policy file contents.
Examples
Format the local file "my-policy.hcl":
$ vault policy fmt my-policy.hcl
Usage
There are no flags beyond the standard set of flags included on all commands.