Files
nomad/website/source/docs/commands/sentinel/read.html.md.erb
Charlie Voiselle 0c359d1a21 Fixup for command section of website
* changed list indicator from * -> -
* moved in-text links to reference links
* made commands `plaintext`
* made command examples `console`
* rewrapped text
2019-10-22 17:42:08 -04:00

47 lines
868 B
Plaintext

---
layout: "docs"
page_title: "Commands: sentinel read"
sidebar_current: "docs-commands-sentinel-read"
description: >
The sentinel read command is used to inspect a Sentinel policies.
---
# Command: sentinel read
The `sentinel read` command is used to inspect a Sentinel policy.
~> Sentinel commands are new in Nomad 0.7 and are only available with Nomad
Enterprise.
## Usage
```plaintext
nomad sentinel read [options] <Policy Name>
```
The `sentinel read` command requires a single argument, the policy name.
## General Options
<%= partial "docs/commands/_general_options" %>
## Read Options
- `-raw` : Output the raw policy only.
## Examples
Read all policies:
```shell
$ nomad sentinel read foo
Name = foo
Scope = submit-job
Enforcement Level = advisory
Description = my test policy
Policy:
main = rule { true }
```