# Service-linked role

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

A service-linked role is an IAM role predefined by an AWS service that the service creates in your account, and it carries the permissions the service needs to act on your behalf. If you name one explicitly when configuring the service you need permission to pass it; if you do not name it, none is needed.

## An example, sourced

AWS says some services automatically create a service-linked role in your account, and gives the example of EC2 Auto Scaling creating AWSServiceRoleForAutoScaling when you create a group for the first time.

## Why it matters here

Service-linked roles explain roles in an account that nobody on the team created. Their permissions are set by the service, not by your policy text.

## Related pages

- [Zone of trust: meaning and an example](/glossary/zone-of-trust/)
- [Policy variable: meaning and an example](/glossary/policy-variable/)
- [Set operator: meaning and an example](/glossary/set-operator/)
- [All of them](/glossary/)

## Sources

- https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html (read 16 Nov 2026)

Last reviewed 16 Nov 2026. Canonical: https://iampolicygenerator.com/glossary/service-linked-role/

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