Consul ACLs
Command: consul acl
The acl
command is used to interact with Consul's ACLs via the command
line. It exposes top-level commands for bootstrapping the ACL system,
managing tokens and policies, and setting the
tokens for use by an agent.
ACLs are also accessible via the HTTP API.
Bootstrap Consul's ACLs:
Create a policy:
Create a token:
For more examples, ask for subcommand help or view the subcommand documentation by clicking on one of the links in the sidebar.
Usage
Usage: consul acl <subcommand>
For the exact documentation for your Consul version, run consul acl -h
to
view the complete list of subcommands.
For more information, examples, and usage about a subcommand, click on the name of the subcommand in the sidebar or one of the links below: