Consul ACL Auth Methods
Command: consul acl auth-method
The acl auth-method
command is used to manage Consul's ACL auth methods.
It exposes commands for creating, updating, reading, deleting, and listing auth methods.
This command is available in Consul 1.5.0 and newer.
ACL auth methods may also be managed via the HTTP API.
Note: All of the example subcommands in this document will require a valid
Consul token with the appropriate permissions. Either set the
CONSUL_HTTP_TOKEN
environment variable to the token's secret ID or pass the
secret ID as the value of the -token
parameter.
Usage
Usage: consul acl auth-method <subcommand>
For the exact documentation for your Consul version, run consul acl auth-method -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.
Basic Examples
Create a new auth method:
List all auth methods:
Update all editable fields of the auth method:
Read an auth method:
Delete an auth method: