github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/docs/commands/sentinel/list.mdx (about)

     1  ---
     2  layout: docs
     3  page_title: 'Commands: sentinel list'
     4  description: |
     5    The sentinel list command is used to list all installed Sentinel policies.
     6  ---
     7  
     8  # Command: sentinel list
     9  
    10  The `sentinel list` command is used to display all the installed Sentinel
    11  policies.
    12  
    13  ~> Sentinel commands are new in Nomad 0.7 and are only available with Nomad
    14  Enterprise.
    15  
    16  ## Usage
    17  
    18  ```plaintext
    19  nomad sentinel list [options]
    20  ```
    21  
    22  The `sentinel list` command requires no arguments.
    23  
    24  Sentinel commands are only available when ACLs are enabled. This command
    25  requires a management token.
    26  
    27  ## General Options
    28  
    29  @include 'general_options_no_namespace.mdx'
    30  
    31  ## Examples
    32  
    33  List all policies:
    34  
    35  ```shell-session
    36  $ nomad sentinel list
    37  Name  Scope       Enforcement Level  Description
    38  foo   submit-job  advisory           my test policy
    39  ```