open-nomad/website/pages/docs/commands/acl/policy-info.mdx
2020-05-18 16:53:06 -04:00

43 lines
771 B
Plaintext

---
layout: docs
page_title: 'Commands: acl policy info'
sidebar_title: policy info
description: >
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
@include 'general_options.mdx'
## Examples
Fetch information on an existing ACL Policy:
```shell-session
$ nomad acl policy info my-policy
Name = my-policy
Description = <none>
Rules = {
"Name": "my-policy",
"Description": "This is a great policy",
"Rules": "list_jobs"
}
CreateIndex = 749
ModifyIndex = 758
```