open-nomad/website/source/docs/commands/acl/policy-info.html.md.erb

43 lines
790 B
Plaintext
Raw Normal View History

---
layout: "docs"
page_title: "Commands: acl policy info"
sidebar_current: "docs-commands-acl-policy-info"
description: >
2017-10-13 20:45:10 +00:00
The policy info command is used to fetch information on an existing ACL
policy.
---
# Command: acl policy info
The `acl policy info` command is used to fetch information on an existing ACL
policy.
## Usage
```
nomad acl policy info <name>
```
The `acl policy info` command requires the policy name.
## General Options
<%= partial "docs/commands/_general_options" %>
## Examples
Fetch information on an existing ACL Policy:
```
$ nomad acl policy info my-policy
2017-09-17 13:47:18 +00:00
Name = my-policy
Description = <none>
Rules = {
"Name": "my-policy",
"Description": "This is a great policy",
"Rules": "list_jobs"
}
2017-09-17 13:47:18 +00:00
CreateIndex = 749
ModifyIndex = 758
```