github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/website/content/docs/commands/acl/policy-list.mdx (about) 1 --- 2 layout: docs 3 page_title: 'Commands: acl policy list' 4 sidebar_title: policy list 5 description: | 6 The policy list command is used to list available ACL policies. 7 --- 8 9 # Command: acl policy list 10 11 The `acl policy list` command is used to list available ACL policies. 12 13 ## Usage 14 15 ```plaintext 16 nomad acl policy list 17 ``` 18 19 This command requires a management ACL token to view all policies. A 20 non-management token can query its own policies. 21 22 ## General Options 23 24 @include 'general_options_no_namespace.mdx' 25 26 ## List Options 27 28 - `-json` : Output the policies in their JSON format. 29 - `-t` : Format and display the policies using a Go template. 30 31 ## Examples 32 33 List all ACL policies: 34 35 ```shell-session 36 $ nomad acl policy list 37 Name Description 38 policy-1 The first policy 39 policy-2 The second policy 40 ```