github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/website/pages/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  ## General Options
    20  
    21  @include 'general_options.mdx'
    22  
    23  ## List Options
    24  
    25  - `-json` : Output the policies in their JSON format.
    26  - `-t` : Format and display the policies using a Go template.
    27  
    28  ## Examples
    29  
    30  List all ACL policies:
    31  
    32  ```shell-sessionnomad acl policy list
    33  Name      Description
    34  policy-1  The first policy
    35  policy-2  The second policy
    36  ```