# List IAM roles

Canonical URL: https://docs.fuse.init.inc/integrations/aws/actions/iam.roles.list

List IAM role summaries with optional path prefix and opaque cursor pagination. Requires iam:ListRoles.

Action ID: `iam.roles.list`
Provider: AWS (`aws`)
Contract version: 1

## Risk and exposure

- Risk: Read
- Idempotency: Safe — Safe to retry without coordination; repeats do not create additional side effects.
- Availability: Default
- Exposure: REST, SDK, MCP
- MCP hints: readOnly=true, destructive=false, idempotent=true, openWorld=true

## Required scopes

- `iam:ListRoles`

## Input schema fields

- `path_prefix`
- `page_size`
- `cursor`

## Output schema fields

- `roles`
- `roles[]`
- `roles[].name`
- `roles[].id`
- `roles[].arn`
- `roles[].path`
- `roles[].created_at`
- `next_cursor`

Provider overview: https://docs.fuse.init.inc/integrations/aws
Actions index: https://docs.fuse.init.inc/integrations/aws/actions
Exact canonical JSON contract: https://docs.fuse.init.inc/api/catalog/v1/providers/aws/actions/iam.roles.list
Deployment-effective discovery: https://api.fuse.init.inc/v1/tenants/%7Btenant_id%7D/providers/aws/actions
