Creating a User

You can create users in your account to manage which resources they can access and which actions they can perform.

You then need to grant permissions and create access keys for new users, so that they can authenticate to OUTSCALE services and perform the actions they are allowed to. For more information, see Managing Policies to Access Your Resources and Creating an EIM Access Key.

To add a user to a group, see Adding or Removing a User from a Group.

Creating a User Using Cockpit

  1. Hover over your name.
    A drop-down menu appears.

  2. Click Users and Policies Management .

  3. In the EIM navigation panel, click Users.
    The Users page appears.

  4. Click Create .
    The CREATE USER dialog box appears.

  5. To add a user, click .

  6. In the Name of the user field, type the name you want to give the user.

    This name must be unique and must contain between 1 and 64 characters. Allowed characters are a-z, A-Z, 0-9, and +=,.@-_.

  7. Click Create to validate.
    The user is created and appears on the Users page.

Creating a User Using AWS CLI

To create a user, use the create-user command following this syntax:

Request sample
$ aws iam create-user \
    --profile YOUR_PROFILE \
    --user-name USER_NAME \
    --path /PATH/SUB_PATH/ \
    --endpoint https://eim.eu-west-2.outscale.com

This command contains the following attributes that you need to specify:

  • (optional) profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.

  • user-name: The name you want to give to the user.

    This name must be unique and must contain between 1 and 64 characters. Allowed characters are a-z, A-Z, 0-9, and +=,.@-_.

  • (optional) path: The path for the user name. If you do not specify a path, it is by default set to a slash (/). For more information, see Resource Identifiers.

  • endpoint: The endpoint corresponding to the Region you want to send the request to.

The create-user command returns the following elements:

  • user: Information about the newly created user. This element contains the following information:

    • UserName: The name of the user.

    • Path: The path for the user name.

    • CreateDate: The date and time of creation of the user.

    • UserId: The user ID.

    • Arn: The OUTSCALE Resource Name (ORN) of the user. For more information, see Resource Identifiers.

Result sample
{
    "User": {
        "UserName": "USER_NAME",
        "Path": "/PATH/SUB_PATH/",
        "CreateDate": "2016-05-12T12:12:24.165Z",
        "UserId": "123456789000",
        "Arn": "arn:aws:iam::123456789000:user/USER_NAME"
    }
}

The user is created in your account.

Related Pages

Corresponding API Method

AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.