# Service role

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

An IAM role that an AWS service assumes to act in your account on your behalf. The role has a trust policy naming the service and permission policies listing what the service may do, and it is either created for you by a console flow or written by you.

## An example, sourced

AWS documents a service role for Amazon Bedrock Agents. You can use a custom service role instead of the one Amazon Bedrock automatically creates. The documented identity-based policy gives Bedrock access to the base models, to the S3 objects holding the action group schemas, and to the knowledge bases attached to the agent, with optional statements for items such as guardrails and KMS decryption.

## Why it matters here

The service role is the identity of a Bedrock Classic agent. Whoever can edit it can change what the agent reaches, so the people allowed to pass or modify it belong in the review as well as the policy itself.

## Related pages

- [Service account: meaning and an example](/glossary/service-account/)
- [Service agent: meaning and an example](/glossary/service-agent/)
- [Managed identity: meaning and an example](/glossary/managed-identity/)
- [All of them](/glossary/)

## Sources

- https://docs.aws.amazon.com/bedrock/latest/userguide/agents-permissions.html (read 10 Nov 2026)

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