open-nomad/website/source/docs/commands/acl/policy-list.html.md.erb

39 lines
715 B
Plaintext
Raw Normal View History

2017-10-13 20:45:10 +00:00
---
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 info
The `acl policy list` command is used to list available ACL policies.
## Usage
```
nomad acl policy list
```
## General Options
<%= partial "docs/commands/_general_options" %>
2017-10-13 23:37:33 +00:00
#
## List Options
* `-json` : Output the namespaces in their JSON format.
* `-t` : Format and display the namespaces using a Go template.
2017-10-13 20:45:10 +00:00
## Examples
List all ACL policies:
```
$ nomad acl policy list
Name Description
default-ns Write access to the default namespace
node-read Node read access
```