github.com/smintz/nomad@v0.8.3/website/source/docs/commands/sentinel/read.html.md.erb (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Commands: sentinel read"
     4  sidebar_current: "docs-commands-sentinel-read"
     5  description: >
     6    The sentinel read command is used to inspect a Sentinel policies.
     7  ---
     8  
     9  # Command: sentinel read
    10  
    11  The `sentinel read` command is used to inspect a Sentinel policy.
    12  
    13  ~> Sentinel commands are new in Nomad 0.7 and are only available with Nomad
    14  Enterprise.
    15  
    16  ## Usage
    17  
    18  ```
    19  nomad sentinel read [options] <Policy Name>
    20  ```
    21  
    22  The `sentinel read` command requires a single argument, the policy name.
    23  
    24  ## General Options
    25  
    26  <%= partial "docs/commands/_general_options" %>
    27  
    28  ## Read Options
    29  
    30  * `-raw` : Output the raw policy only.
    31  
    32  ## Examples
    33  
    34  Read all policies:
    35  
    36  ```
    37  $ nomad sentinel read foo
    38  Name              = foo
    39  Scope             = submit-job
    40  Enforcement Level = advisory
    41  Description       = my test policy
    42  Policy:
    43  
    44  main = rule { true }
    45  
    46  ```