Euca2ools Guide / IAM-Compatible Commands |
euare-getcallerid [-U URL] [--region USER@REGION] [-I KEY_ID] [-S KEY] [--security-token TOKEN] [--debug] [--debugger] [--version] [-h]
Option | Description |
---|---|
--region=region | Region to direct requests to. |
-U url,--url=url | Override service URL with this value. |
-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. |
--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 information about the account, ARN, key ID, and user ID associated with the currently active credentials.
# euare-getcallerid account = 000187952530 arn = arn:aws:iam::000187952530:user/admin key-id = AKIAA3GFIXINJITSTQ2J user-id = AIDAAPSETREWQ3OVTYVJP
To check information about a user's credentials after the user assumed a role:
# eval $(euare-assumerole arn:aws:iam::eucalyptus:role/eucalyptus/AccountAdministrator --session-name my-session) # # euare-getcallerid account = 000187952530 arn = arn:aws:sts::000187952530:assumed-role/my-session key-id = AKIAAFHJHJJOOZSPZRCP user-id = AROAAJZOMI2TIIY3GAUGF:my-session #