Creating a Group

You can create a group in your account to manage the same set of permissions for a several users.

After creating a group, you need to add users and apply permissions to it. For more information, see Adding or Removing a User from a Group and Managing Policies to Access Your Resources.

Creating a Group 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 Groups.
    The Groups page appears.

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

  5. To add a group, click .

  6. In the Group Name field, type the name you want to give the group.

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

  7. Click Create to validate.
    The group is created and appears on the Groups page.

Creating a Group Using AWS CLI

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

Request sample
$ aws iam create-group \
    --profile YOUR_PROFILE \
    --group-name GROUP_NAME \
    [--path NOT_SPECIFIED] \
    --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.

  • group-name: The name for the group you want to create.

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

  • (optional) path: The path for the group (if you do not specify any value, it is 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-group command returns the following elements:

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

    • Path: The path for the group.

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

    • GroupId: The ID of the group.

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

    • GroupName: The common name of the group.

Result sample
{
    "Group": {
        "Path": "/",
        "CreateDate": "2016-05-12T06:30:24.165Z",
        "GroupId": "LMGPOKFGVV8K6LEXAMPLE",
        "Arn": "arn:aws:iam::123456789012:group/GROUP_NAME",
        "GroupName": "GROUP_NAME
    }
}

The group 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.