Euca2ools Guide / IAM-Compatible Commands |
List users by path.
euare-userlistbypath [-p path]
Option | Description | Required |
---|---|---|
-p, --path-prefix | The path prefix for filtering the results. For example, /division_abc/subdivision_xyz/ returns all groups with a path that starts with /division_abc/subdivision_xyz/. If this parameter is empty, it defaults to a slash (/), listing all users. | No |
Option | Description |
---|---|
--region=region | Region to direct requests to. |
-U url,--url=url | Override service URL with this value. |
--as-account account | This Eucalyptus extension is for use by the system administrator to act as the account administrator of the specified account without changing to account administrator's role. |
-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. |
-D, --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 a list of the users and their paths.
The following example lists all users.
euare-userlistbypath arn:aws:iam::myacct:user/myuser arn:aws:iam::myacct:user/path/myuser2
The following example lists all users in the /path path.
euare-userlistbypath -p /path arn:aws:iam::myacct:user/path/myuser2