mc admin user add

Adds a user to an account.

The Object Store administrator runs this command to add both IAM users to accounts and domain users to the default account.
NOTE
IAM users cannot be added to the default account.

Syntax

CLI
mc admin user add - add a new user

USAGE:
  mc admin user add TARGET USERNAME [ account=<account_name> ] [ domain=<domain_name> ]

USERNAME:
  Name of the user to be created.

account:
  Name of the account in which the user needs to be created

domain:
  Name of the domain in which the said account is present.

FLAGS:
  --json                        enable JSON lines formatted output
  --debug                       enable debug output
  --insecure                    disable SSL certificate verification
  --help, -h                    show help

Parameters

Parameter Description
TARGET The alias of a configured HPE Ezmeral Object Store on which the command adds the user. This parameter is mandatory.
USERNAME The user name to add. This parameter is mandatory.
account The name of the account to which to add the user.
domain The name of the domain under which the account exists.
json Enables JSON formatted output.
debug Enables output for debugging.
insecure Disables SSL verification.
help Shows this help.

Example

Add a user joe to the northamerica account in the Object Store deployment with alias salesobject.
CLI
/opt/mapr/bin/mc admin user add salesobject joe account='northamerica' -json