github.com/smintz/nomad@v0.8.3/website/source/docs/commands/acl/policy-apply.html.md.erb (about) 1 --- 2 layout: "docs" 3 page_title: "Commands: acl policy apply" 4 sidebar_current: "docs-commands-acl-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 ``` 16 nomad acl policy apply [options] <name> <path> 17 ``` 18 19 The `acl policy apply` command requires two arguments, the policy name and path to file. 20 The policy can be read from stdin by setting the path to "-". 21 22 ## General Options 23 24 <%= partial "docs/commands/_general_options" %> 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 ``` 35 $ nomad acl policy apply my-policy my-policy.json 36 Successfully wrote 'my-policy' ACL policy! 37 ```