Listing Users

You can get information about a specified user, including its creation date, path, unique ID and OUTSCALE Resource Name.

If you exceed the number of identical requests allowed for a configured time period, the Throttling error message is returned.

This procedure uses AWS CLI only. Information about these resources is also available from Cockpit v1. For more information, see EIM User Interface > Users Page.

To get information about a user, use the get-user command following this syntax:

Request sample
$ aws iam get-user \
    --profile YOUR_PROFILE \
    --user-name USER_NAME \
    --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.

  • (optional) user-name: The name of a user you want to get information about.

    If you do not specify a user name, this action returns information about the user who sends the request.

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

The get-user command returns the following elements:

  • User: Information about the specified user. This element contains the following information:

    • UserName: The common name of the user.

    • Path: The path for the user.

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

    • UserId: The user ID. For more information, see Resource Identifiers.

    • 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": "1234567890000",
        "Arn": "arn:aws:iam::123456789012:user/USER_NAME"
    }
}

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.