Commit 8f69e44 Mahmood Ali
committed
1 parent a799749 commit 8f69e44 Copy full SHA for 8f69e44
File tree 2 files changed +7
-7
lines changed
website/source/docs/commands/acl
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ description: >
6
6
The policy list command is used to list available ACL policies.
7
7
---
8
8
9
- # Command: acl policy info
9
+ # Command: acl policy list
10
10
11
11
The `acl policy list` command is used to list available ACL policies.
12
12
@@ -22,17 +22,17 @@ nomad acl policy list
22
22
#
23
23
## List Options
24
24
25
- * `-json` : Output the namespaces in their JSON format.
25
+ * `-json` : Output the policies in their JSON format.
26
26
27
- * `-t` : Format and display the namespaces using a Go template.
27
+ * `-t` : Format and display the policies using a Go template.
28
28
29
29
## Examples
30
30
31
31
List all ACL policies:
32
32
33
33
```
34
34
$ nomad acl policy list
35
- Name Description
36
- default-ns Write access to the default namespace
37
- node-read Node read access
35
+ Name Description
36
+ policy-1 The first policy
37
+ policy-2 The second policy
38
38
```
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ Fetch information about an existing ACL token:
28
28
```
29
29
$ export NOMAD_TOKEN=d532c40a-30f1-695c-19e5-c35b882b0efd
30
30
31
- $ nomad acl tokenjself
31
+ $ nomad acl token self
32
32
Accessor ID = d532c40a-30f1-695c-19e5-c35b882b0efd
33
33
Secret ID = 85310d07-9afa-ef53-0933-0c043cd673c7
34
34
Name = my token
You can’t perform that action at this time.
0 commit comments