euare-usercreate

Creates a user.

Syntax

euare-usercreate [-p PATH] [-g GROUP_NAME] [--verify] [-k] [-v | -w]
                        [-d DOMAIN] [-l] [--as-account ACCOUNT] [-U URL]
                        [--region USER@REGION] [-I KEY_ID] [-S KEY]
                        [--security-token TOKEN] [--debug] [--debugger]
                        [--version] [-h]
                        USER

Options

Option Description Required
USER Name of the user to create Yes
-g, --group-name group_name Name of the group the user will belong to No
-k, --create-accesskey Use this option if you want to create an access key for the user No
-p, --path path The path to the user. For more information about paths, go to Identifiers for IAM Entities. If you do not enter a value, the value defaults to a slash (/). No
-w, --write-config Output access keys and region information in the form of a euca2ools.ini configuration file instead of by themselves (implies -k) No
-d, --domain DOMAIN DNS domain to use for region information in configuration file output (default: based on IAM URL) No
-l, --set-default-user Set this user as the default user for the region in the euca2ools.ini configuration file output. This option is only useful when used with the -w parameter. No
--as-account ACCOUNT [Eucalyptus cloud admin only] Run this command as the administrator of another account No

Common Options

Option Description
--region=region Region to direct requests to.
-U url,--url=url Override service URL with this value.
--as-account account This Eucalyptus extension is for use by the system administrator to act as the account administrator of the specified account without changing to account administrator's role.
-I access_key_id, --access-key=access_key_id Override configured access key ID with this value.
-S secret_key, --secret-key=secret_key Override configured secret key with this value.
--security-token=token Security token.
-D, --debug Prints what the command sends to the server and what it receives from the server. Use when you're trying to debug Euca2ools.
--debugger Enable interactive debugger on error.
-h,--help Display the manual page for the command.
--version Display the version of this tool.

Output

Eucalyptus returns no message unless you requested to create an access key for the user. In that case, Eucalyptus returns the access key ID and secret access key.

Examples

The following example creates a user, myuser, the group, mygroup.

euare-usercreate myuser -g mygroup

The following example creates a user, myuser and an access key for the user.

euare-usercreate myuser -k
FUZMHBQEXQKMJXTWOOVVW
Q59p8G9ZG4ePQYsvo30MJdpaMuoDiT52He1KVAt8
x