github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/docs/commands/acl/policy/info.mdx (about) 1 --- 2 layout: docs 3 page_title: 'Commands: acl policy info' 4 description: > 5 The policy info command is used to fetch information on an existing ACL 6 policy. 7 --- 8 9 # Command: acl policy info 10 11 The `acl policy info` command is used to fetch information on an existing ACL 12 policy. 13 14 ## Usage 15 16 ```plaintext 17 nomad acl policy info <name> 18 ``` 19 20 The `acl policy info` command requires the policy name. 21 22 This command requires a management ACL token or a token that has the 23 associated policy. 24 25 ## General Options 26 27 @include 'general_options_no_namespace.mdx' 28 29 ## Examples 30 31 Fetch information on an existing ACL Policy: 32 33 ```shell-session 34 $ nomad acl policy info my-policy 35 Name = my-policy 36 Description = <none> 37 CreateIndex = 749 38 ModifyIndex = 758 39 40 Rules 41 42 { 43 "Name": "my-policy", 44 "Description": "This is a great policy", 45 "Rules": "list_jobs" 46 } 47 ``` 48 49 If the ACL Policy is associated with a [Workload Identity], additional information will be shown: 50 51 ```shell-session 52 $ nomad acl policy info my-policy 53 Name = my-policy 54 Description = <none> 55 CreateIndex = 749 56 ModifyIndex = 758 57 58 Associated Workload 59 Namespace = default 60 JobID = example 61 Group = cache 62 Task = redis 63 64 Rules 65 66 { 67 "Name": "my-policy", 68 "Description": "This is a great policy", 69 "Rules": "list_jobs" 70 } 71 ```