github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/website/pages/docs/commands/acl/policy-apply.mdx (about) 1 --- 2 layout: docs 3 page_title: 'Commands: acl policy apply' 4 sidebar_title: policy apply 5 description: | 6 The policy apply command is used to create or update ACL policies. 7 --- 8 9 # Command: acl policy apply 10 11 The `acl policy apply` command is used to create or update ACL policies. 12 13 ## Usage 14 15 ```plaintext 16 nomad acl policy apply [options] <name> <path> 17 ``` 18 19 The `acl policy apply` command requires two arguments, the policy name and path 20 to file. The policy can be read from stdin by setting the path to "-". 21 22 ## General Options 23 24 @include 'general_options.mdx' 25 26 ## Apply Options 27 28 - `-description`: Sets the human readable description for the ACL policy. 29 30 ## Examples 31 32 Create a new ACL Policy: 33 34 ```shell-sessionnomad acl policy apply my-policy my-policy.json 35 Successfully wrote 'my-policy' ACL policy! 36 ```