github.com/hspak/nomad@v0.7.2-0.20180309000617-bc4ae22a39a5/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 ## Usage 14 15 ``` 16 nomad sentinel read [options] <Policy Name> 17 ``` 18 19 The `sentinel read` command requires a single argument, the policy name. 20 21 ## General Options 22 23 <%= partial "docs/commands/_general_options" %> 24 25 ## Read Options 26 27 * `-raw` : Output the raw policy only. 28 29 ## Examples 30 31 Read all policies: 32 33 ``` 34 $ nomad sentinel read foo 35 Name = foo 36 Scope = submit-job 37 Enforcement Level = advisory 38 Description = my test policy 39 Policy: 40 41 main = rule { true } 42 43 ```