2017-09-11 17:46:43 +00:00
|
|
|
---
|
2020-02-06 23:45:31 +00:00
|
|
|
layout: docs
|
|
|
|
page_title: 'Commands: acl'
|
|
|
|
sidebar_title: acl
|
|
|
|
description: |
|
2017-10-13 21:02:30 +00:00
|
|
|
The acl command is used to interact with ACL policies and tokens.
|
2017-09-11 17:46:43 +00:00
|
|
|
---
|
|
|
|
|
2018-03-22 20:39:18 +00:00
|
|
|
# Command: acl
|
2017-09-11 17:46:43 +00:00
|
|
|
|
2020-03-13 17:16:01 +00:00
|
|
|
The `acl` command is used to interact with ACL policies and tokens. Learn more
|
|
|
|
about using Nomad's ACL system in the [Secure Nomad with Access Control
|
|
|
|
guide][secure-guide].
|
2017-09-11 17:46:43 +00:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
Usage: `nomad acl <subcommand> [options]`
|
|
|
|
|
|
|
|
Run `nomad acl <subcommand> -h` for help on that subcommand. The following
|
|
|
|
subcommands are available:
|
|
|
|
|
2019-10-22 13:44:00 +00:00
|
|
|
- [`acl bootstrap`][bootstrap] - Bootstrap the initial ACL token
|
|
|
|
- [`acl policy apply`][policyapply] - Create or update ACL policies
|
|
|
|
- [`acl policy delete`][policydelete] - Delete an existing ACL policies
|
|
|
|
- [`acl policy info`][policyinfo] - Fetch information on an existing ACL policy
|
|
|
|
- [`acl policy list`][policylist] - List available ACL policies
|
|
|
|
- [`acl token create`][tokencreate] - Create new ACL token
|
|
|
|
- [`acl token delete`][tokendelete] - Delete an existing ACL token
|
|
|
|
- [`acl token info`][tokeninfo] - Get info on an existing ACL token
|
|
|
|
- [`acl token self`][tokenself] - Get info on self ACL token
|
|
|
|
- [`acl token update`][tokenupdate] - Update existing ACL token
|
2017-09-11 17:46:43 +00:00
|
|
|
|
2020-02-06 23:45:31 +00:00
|
|
|
[bootstrap]: /docs/commands/acl/bootstrap
|
|
|
|
[policyapply]: /docs/commands/acl/policy-apply
|
|
|
|
[policydelete]: /docs/commands/acl/policy-delete
|
|
|
|
[policyinfo]: /docs/commands/acl/policy-info
|
|
|
|
[policylist]: /docs/commands/acl/policy-list
|
|
|
|
[tokencreate]: /docs/commands/acl/token-create
|
|
|
|
[tokenupdate]: /docs/commands/acl/token-update
|
|
|
|
[tokendelete]: /docs/commands/acl/token-delete
|
|
|
|
[tokeninfo]: /docs/commands/acl/token-info
|
|
|
|
[tokenself]: /docs/commands/acl/token-self
|
2020-03-13 17:16:01 +00:00
|
|
|
[secure-guide]: https://learn.hashicorp.com/nomad/acls/fundamentals
|