870e3f58a6
* changed list indicator from * -> - * moved in-text links to reference links * made commands `plaintext` * made command examples `console` * rewrapped text
38 lines
697 B
Plaintext
38 lines
697 B
Plaintext
---
|
|
layout: "docs"
|
|
page_title: "Commands: acl policy list"
|
|
sidebar_current: "docs-commands-acl-policy-list"
|
|
description: >
|
|
The policy list command is used to list available ACL policies.
|
|
---
|
|
|
|
# Command: acl policy list
|
|
|
|
The `acl policy list` command is used to list available ACL policies.
|
|
|
|
## Usage
|
|
|
|
```plaintext
|
|
nomad acl policy list
|
|
```
|
|
|
|
## General Options
|
|
|
|
<%= partial "docs/commands/_general_options" %>
|
|
|
|
## List Options
|
|
|
|
- `-json` : Output the policies in their JSON format.
|
|
- `-t` : Format and display the policies using a Go template.
|
|
|
|
## Examples
|
|
|
|
List all ACL policies:
|
|
|
|
```shell
|
|
$ nomad acl policy list
|
|
Name Description
|
|
policy-1 The first policy
|
|
policy-2 The second policy
|
|
```
|