github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/docs/commands/acl/role/list.mdx (about) 1 --- 2 layout: docs 3 page_title: 'Commands: acl role list' 4 description: The role list command is used to list existing ACL Roles. 5 --- 6 7 # Command: acl role list 8 9 The `acl role list` command is used to list existing ACL Roles. 10 11 ## Usage 12 13 ```plaintext 14 nomad acl role list [options] 15 ``` 16 17 ## General Options 18 19 @include 'general_options_no_namespace.mdx' 20 21 ## List Options 22 23 - `-json` : Output the ACL roles in a JSON format. 24 25 - `-t` : Format and display the ACL roles using a Go template. 26 27 ## Examples 28 29 List all ACL Roles: 30 31 ```shell-session 32 $ nomad acl role list 33 ID Name Description Policies 34 a53b0095-c28a-6181-0586-807b82e665e4 example-acl-role <none> general-write 35 ```