github.com/adityamillind98/nomad@v0.11.8/website/pages/docs/commands/sentinel/read.mdx (about) 1 --- 2 layout: docs 3 page_title: 'Commands: sentinel read' 4 sidebar_title: 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 ```plaintext 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 @include 'general_options.mdx' 27 28 ## Read Options 29 30 - `-raw` : Output the raw policy only. 31 32 ## Examples 33 34 Read all policies: 35 36 ```shell-session 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 ```