alpacon token acl add

Define access to specific commands for an API token. This command adds a new ACL rule to control which commands the specified token can execute.

alpacon token acl add [flags]

Options

  -c, --command string   Command to allow
  -h, --help             help for add
  -t, --token string     Token ID or name

Examples

Add an ACL rule interactively:

alpacon token acl add --token=my-token

Add an ACL rule with specific token and command:

alpacon token acl add --token=my-token --command="server ls"