# Service last accessed information

Facts read 16 Nov 2026. Page reviewed 16 Nov 2026.

Service last accessed information is data IAM keeps on when a user, group, role or policy last tried to use an AWS service, including attempts that failed. It shows which allowed services go unused and feeds unused access findings. Recent activity usually appears within four hours, according to the AWS CLI reference.

## An example, sourced

AWS says the data covers all attempts to access an AWS API, not just successful ones, and that aws iam generate-service-last-accessed-details starts the report for a user, group, role or policy.

## Why it matters here

Unused permissions are the clearest candidates for removal. The workbench does not read this data because it never touches an account.

## Related pages

- [Credential report: meaning and an example](/glossary/credential-report/)
- [Service Authorization Reference: meaning and an example](/glossary/service-authorization-reference/)
- [Role session: meaning and an example](/glossary/role-session/)
- [All of them](/glossary/)

## Sources

- https://docs.aws.amazon.com/cli/latest/reference/iam/generate-service-last-accessed-details.html (read 16 Nov 2026)

Last reviewed 16 Nov 2026. Canonical: https://iampolicygenerator.com/glossary/service-last-accessed-information/

This site is not affiliated with Amazon Web Services. AWS service and product names are used only to describe AWS services.
