2017-09-11 17:46:43 +00:00
|
|
|
---
|
2020-02-06 23:45:31 +00:00
|
|
|
layout: docs
|
|
|
|
page_title: 'Commands: 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
|
2022-12-14 12:35:26 +00:00
|
|
|
- [`acl auth-method create`][authmethodcreate] - Create a new ACL auth method
|
|
|
|
- [`acl auth-method delete`][authmethoddelete] - Delete an existing ACL auth method
|
|
|
|
- [`acl auth-method info`][authmethodinfo] - Fetch information on an existing ACL auth method
|
|
|
|
- [`acl auth-method list`][authmethodlist] - List available ACL auth methods
|
|
|
|
- [`acl auth-method update`][authmethodupdate] - Update existing ACL auth method
|
2022-12-22 15:36:25 +00:00
|
|
|
- [`acl binding-rule create`][bindingrulecreate] - Create a new ACL binding rule
|
|
|
|
- [`acl binding-rule delete`][bindingruledelete] - Delete an existing ACL binding rule
|
|
|
|
- [`acl binding-rule info`][bindingruleinfo] - Fetch information on an existing ACL binding rule
|
|
|
|
- [`acl binding-rule list`][bindingrulelist] - List available ACL binding rules
|
|
|
|
- [`acl binding-rule update`][bindingruleupdate] - Update existing ACL binding rule
|
2019-10-22 13:44:00 +00:00
|
|
|
- [`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
|
2022-08-31 14:13:47 +00:00
|
|
|
- [`acl role create`][rolecreate] - Create a new ACL role
|
|
|
|
- [`acl role delete`][roledelete] - Delete an existing ACL role
|
|
|
|
- [`acl role info`][roleinfo] - Get info on an existing ACL role
|
|
|
|
- [`acl role list`][rolelist] - List available ACL roles
|
|
|
|
- [`acl role update`][roleupdate] - Update existing ACL role
|
2019-10-22 13:44:00 +00:00
|
|
|
- [`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
|
2020-07-24 14:09:30 +00:00
|
|
|
- [`acl token list`][tokenlist] - List available ACL tokens
|
2019-10-22 13:44:00 +00:00
|
|
|
- [`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
|
2022-12-14 12:35:26 +00:00
|
|
|
[authmethodcreate]: /docs/commands/acl/auth-method/create
|
|
|
|
[authmethoddelete]: /docs/commands/acl/auth-method/delete
|
|
|
|
[authmethodinfo]: /docs/commands/acl/auth-method/info
|
|
|
|
[authmethodlist]: /docs/commands/acl/auth-method/list
|
|
|
|
[authmethodupdate]: /docs/commands/acl/auth-method/update
|
2022-12-22 15:36:25 +00:00
|
|
|
[bindingrulecreate]: /docs/commands/acl/binding-rule/create
|
|
|
|
[bindingruledelete]: /docs/commands/acl/binding-rule/delete
|
|
|
|
[bindingruleinfo]: /docs/commands/acl/binding-rule/info
|
|
|
|
[bindingrulelist]: /docs/commands/acl/binding-rule/list
|
|
|
|
[bindingruleupdate]: /docs/commands/acl/binding-rule/update
|
2022-08-31 14:13:47 +00:00
|
|
|
[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
|
|
|
|
[tokenlist]: /docs/commands/acl/token/list
|
|
|
|
[tokenself]: /docs/commands/acl/token/self
|
|
|
|
[rolecreate]: /docs/commands/acl/role/create
|
|
|
|
[roleupdate]: /docs/commands/acl/role/update
|
|
|
|
[roledelete]: /docs/commands/acl/role/delete
|
|
|
|
[roleinfo]: /docs/commands/acl/role/info
|
|
|
|
[rolelist]: /docs/commands/acl/role/list
|
2020-09-29 16:48:32 +00:00
|
|
|
[secure-guide]: https://learn.hashicorp.com/collections/nomad/access-control
|