**To retrieve information about when the specified access key was last used** The following example retrieves information about when the access key ``ABCDEXAMPLE`` was last used. :: aws iam get-access-key-last-used \ --access-key-id ABCDEXAMPLE Output:: { "UserName": "Bob", "AccessKeyLastUsed": { "Region": "us-east-1", "ServiceName": "iam", "LastUsedDate": "2015-06-16T22:45:00Z" } } For more information, see `Managing access keys for IAM users `__ in the *AWS IAM User Guide*.