open-nomad/website/pages/docs/commands/acl/policy-info.mdx

43 lines
771 B
Plaintext
Raw Normal View History

---
2020-02-06 23:45:31 +00:00
layout: docs
page_title: 'Commands: acl policy info'
sidebar_title: 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
```plaintext
nomad acl policy info <name>
```
The `acl policy info` command requires the policy name.
## General Options
2020-02-06 23:45:31 +00:00
@include 'general_options.mdx'
## Examples
Fetch information on an existing ACL Policy:
2020-05-18 20:53:06 +00:00
```shell-session
$ 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
```