anchorectl user

User related operations.

Every command on this page also accepts the global flags.

Subcommands

  • user add — Create a new user
  • user delete — Delete a specific user credential by username of the credential. Cannot be the credential used to authenticate the request.
  • user get — Get a specific user in the specified account
  • user list — List users for the account
  • user set-password — Set the password for a user

user add

Create a new user.

anchorectl user add USERNAME [flags]

Arguments

ArgumentDescription
USERNAMEThe name of the user to create.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--accountstringANCHORECTL_USER_ACCOUNT""NoThe account to use, defaults to current account.
--idp_namestringANCHORECTL_IDP_NAME""NoThe name of the IDP user will be authenticated with.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, id. See Output Formats.
--rolestring (repeatable)ANCHORECTL_USER_ROLE[]NoThe initial role(s) for the user. Defaults to (read-write) when not in the admin account.

user delete

Delete a specific user credential by username of the credential. Cannot be the credential used to authenticate the request.

anchorectl user delete USERNAME [flags]

Aliases: del

Arguments

ArgumentDescription
USERNAMEName of the user to delete.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--accountstringANCHORECTL_USER_ACCOUNT""NoThe account to use, defaults to current account.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.

user get

Get a specific user in the specified account.

anchorectl user get USERNAME [flags]

Arguments

ArgumentDescription
USERNAMEName of the user to fetch.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--accountstringANCHORECTL_USER_ACCOUNT""NoThe account to use, defaults to current account.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.

user list

List users for the account.

anchorectl user list [flags]

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--accountstringANCHORECTL_USER_ACCOUNT""NoThe account to use, defaults to current account.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.

user set-password

Set the password for a user.

anchorectl user set-password USERNAME [flags]

Arguments

ArgumentDescription
USERNAMEName of the user to set the password for.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--accountstringANCHORECTL_USER_ACCOUNT""NoThe account to use, defaults to the current account.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.
Last modified September 22, 2026