mc admin group create
Creates an IAM group under an account.
Syntax
- CLI
-
mc admin group create - create a new group under an account USAGE: mc admin group create TARGET GROUPNAME [account=<account_name>] [domain=<domain_name>] 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 creates a group. This parameter is mandatory. |
GROUPNAME |
The name of the group to create. This parameter is mandatory. |
account |
The name of the account to which the group belongs. This parameter is
mandatory. NOTE You cannot create IAM groups under the
default account. |
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
Create a group hydsales in theasiapac
account in the Object Store deployment with alias
salesobject.- CLI
-
/opt/mapr/bin/mc admin group create salesobject hydsales account=asiapac