ExitCross-Account Access: roles for shared monitoring1 / 9
Explanation

One monitoring view, separate account ownership

How source-account role trust, caller authorization, and read-only role permissions let a monitoring account display another account’s metrics and alarms without sharing credentials. · associate

A source account owns the metrics and alarms. A monitoring account displays them in a CloudWatch dashboard. In the role-based sharing pattern, the source account keeps control of access by providing a role that trusted monitoring callers can assume.

AWS STS provides temporary credentials for the source role. No source-account password or long-lived access key needs to be shared. The dashboard displays source data; displaying it does not transfer ownership of the metrics or alarms.

The diagram shows the logical authorization and data path, not every internal API exchange. The role-session arrow represents assuming the role, and the read-request arrow represents requests authorized as that role.

Monitoring account
Source account
AssumeRole requestRole sessionRead requestsMetrics and alarms
AWS Identity and Access Management (IAM)Monitoring caller: allowed to assume source role
AWS Security Token Service (AWS STS)Temporary role session
AWS Identity and Access Management (IAM)Source read-only role: trust and permissions
Amazon CloudWatchSource metrics and alarms
Amazon CloudWatchShared monitoring dashboard

1 / 6 The monitoring caller starts with its own identity. Its caller-side policy must authorize assumption of the particular source-account role.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.