| Euca2ools Guide / IAM-Compatible Commands | |
Creates a new account. You must be a cloud admininistrator to use this command.
euare-accountcreate [-k] [-w] [-d DOMAIN] [-l] [--show-empty-fields]
[-U URL] [--region USER@REGION] [-I KEY_ID]
[-S KEY] [--security-token TOKEN] [--debug]
[--debugger] [--version] [-h]
[ACCOUNT]
| Option | Description | Required |
|---|---|---|
| ACCOUNT | Also add an alias (name) to the new account (required on eucalyptus versions older than version 4.2) | No |
| -k, --create-access-key | Also create an access key for the new account's administrator and show it | 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 |
| Option | Description |
|---|---|
| --region=region | Region to direct requests to. |
| -U url,--url=url | Override service URL with this value. |
| -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. |
| --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. |
Eucalyptus returns the account name and the generated account ID.
The following example creates an account named 'bob' and emails the credentials.
euare-accountcreate bob -wld mycloud.example.com | mail -s "Your credentials" bob@example.com