Getting Information About a User

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.

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 Jane \
    --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 user name.

    • Path: The path for the user.

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

    • UserId: The user ID.

    • Arn: The OUTSCALE Resource Name (ORN) of the user.

Result sample
{
    "User": {
        "UserName": "Jane",
        "Path": "/division/subdivision/",
        "CreateDate": "2016-05-12T06:30:24.165Z",
        "UserId": "1234567890000",
        "Arn": "arn:aws:iam::123456789012:user/Jane"
    }
}

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.