open-nomad/website/content/docs/commands/acl/index.mdx

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

55 lines
2.3 KiB
Plaintext
Raw Normal View History

---
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.
---
2018-03-22 20:39:18 +00:00
# Command: acl
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].
## Usage
Usage: `nomad acl <subcommand> [options]`
Run `nomad acl <subcommand> -h` for help on that subcommand. The following
subcommands are available:
- [`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 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
- [`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 list`][tokenlist] - List available ACL tokens
- [`acl token self`][tokenself] - Get info on self ACL token
- [`acl token update`][tokenupdate] - Update existing ACL token
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
[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
[secure-guide]: https://learn.hashicorp.com/collections/nomad/access-control