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

45 lines
846 B
Plaintext

---
layout: docs
page_title: 'Commands: acl 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.
This command requires a management ACL token or a token that has the
associated policy.
## General Options
@include 'general_options_no_namespace.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
```