Start with the failed request
In a fictional reconciliation batch, an operator can list the bucket while the process cannot read the expected file. First write an evidence row: time, effective identity, action, resource, and result. Listing and reading are different operations; success with one does not establish the other.
If the process uses temporary credentials, include validity and token presence in the investigation without recording secrets. Compare the batch context with the operator context. Reproducing the request using an administrator’s personal identity can hide the failure.
The first APS deliverable is a testable hypothesis and a bounded reproduction, with permissions unchanged until the request is identified. For the EC2 batch, attach a role through an instance profile and scope actions and resources to the required prefix.
The SDK should obtain and refresh that role’s temporary credentials; a static key in a file can make the process use another identity. For people working across accounts, IAM Identity Center can connect the corporate identity provider and assign role-based access. Keep this workforce access separate from the batch identity.
Separate role entry from the next operation
A supplier must consult reports through a dedicated role. Draw two arrows: supplier identity to AssumeRole; resulting session to the report. The first depends on caller authorization and role trust in this cross-account scenario.
The second depends on permissions applying to the session and resource. In the exercise, STS returns credentials but GetObject fails. Investigate the second arrow and confirm that the client actually uses the returned credentials.
Expanding trust does not solve an S3 operation. Assign separate owners for integration, role permissions, and data, so that several teams do not change different layers simultaneously. Keep the failed request as the common reference for the investigation.
Read limits without inventing grants
Consider a role whose identity policy allows reading and writing while its permissions boundary permits only reading. This example has no resource-policy grant: writing falls outside the intersection. A boundary permitting writes also does not create an absent grant.
Do not turn this limited rule into a universal evaluator: resource policies and the principal type need their own analysis. An applicable SCP can further limit a member-account role; it grants no access. At the change meeting, present the blocked action, responsible restriction, and smallest proposed exception.
Removing every limit makes the experiment less informative and expands the change scope. Record the conditions under which the example applies. An applicable explicit Deny takes precedence over an Allow for the same request.
Before concluding that an exception resolved the incident, check the denied action, resource, and conditions; adding another Allow does not remove it.
Associate the supplier with the right customer
In the workshop, a fictional integrator serves two entities, North and South. Both use the same integration service, but the provider assigns distinct external IDs. North’s role must check North’s identifier and trust only the agreed principal.
The external ID supplies request context; it is not a password or a replacement for supplier authentication. Prepare three expected attempts: correct identifier, missing identifier, and South’s identifier. Only the first should satisfy this trust condition.
If all three succeed, the integration has not demonstrated the intended separation. Request the provider’s mapping and inspect other trust grants instead of repeatedly replacing the value without a diagnosis.
Include the key in the access path
An analytics role needs to decrypt an output using a KMS key owned by another account. For the policy-based path studied here, compare the owner’s key policy with the external identity’s IAM policy; this exercise has no grants. Permission to read the object is a separate decision.
The change record must identify the specific key and required operation without turning data access into key administration. During an outage, first collect the precise error and identity. Successfully reading a file encrypted under another key does not eliminate a KMS authorization hypothesis.
Include rejection of an out-of-scope key in the handover plan alongside the intended successful request. Within one account too, S3 permission does not replace KMS authorization: check whether the key policy authorizes use or enables delegation through IAM, alongside other applicable policies.
Workshop: decide what the evidence supports
Allow fifteen minutes to draw both accounts and requests, fifteen to write the policies, and ten to prepare acceptance. Use this fictional scenario: the Supplier role in account A assumes the Reports role in account B; bucket dr-training-reports also belongs to B.
Reports trusts only Supplier and requires external ID North-17. The caller identity policy allows sts:AssumeRole only for Reports. The Reports identity policy allows s3:GetObject on arn:aws:s3:::dr-training-reports/approved/*; the batch receives object names and does not need to list the bucket.
For this workshop, there are no other grants, explicit denials, boundaries, SCPs, or SSE-KMS. Draft these three policies from the constraints without deploying them to AWS. Compare your matrix with the worked result: the agreed principal with North-17 satisfies trust; a missing ID or South-17 does not.
Using a valid Reports session, reading approved/report.csv is allowed; writing that object and reading private/report.csv are denied because no permission grants them. An expired session requires new valid credentials before retrying the request.
These outcomes are paper predictions; no AWS requests were executed. A simulation analyzes supplied inputs but does not establish that the batch uses that context. During future authorized execution, record effective identity, action, resource, policy version, and sanitized outcome.
Handover must distinguish observations, predictions, and outstanding checks.
Fictional batch: AssumeRole succeeds, ListBucket succeeds, GetObject fails. Confirm the session in use and object ARN before changing trust. With SSE-KMS, include the specific key in the analysis.
Common pitfalls
Testing as an administrator; confusing role entry with data access; treating an external ID as a secret; presenting a simulator prediction as real execution.
Related topics: Data protection and recovery · Private access and startup without hidden dependencies
Identify the request and identity, separate grants from limits, and prepare positive and negative checks with explicit scope.
References
- IAM security best practices · AWS documentation consulted 2026-09-29
- SAA-C03 exam guide · SAA-C03 / primary documentation consulted 2026-10-04
- SAA-C03 secure architectures · SAA-C03 / primary documentation consulted 2026-10-04
- Cross-account policy evaluation · SAA-C03 / primary documentation consulted 2026-10-04
- Third-party account access · SAA-C03 / primary documentation consulted 2026-10-04
- Cross-account KMS key use · SAA-C03 / primary documentation consulted 2026-10-04
- IAM permissions boundaries · SAA-C03 / primary documentation consulted 2026-10-04
- Service control policies · SAA-C03 / primary documentation consulted 2026-10-04
- IAM policy simulation · SAA-C03 / primary documentation consulted 2026-10-04
- Using temporary credentials · SAA-C03 / primary documentation consulted 2026-10-04
- S3 identity policies · SAA-C03 / primary documentation consulted 2026-10-04
- Roles for applications on EC2 · SAA-C03 / primary documentation consulted 2026-10-04
- IAM Identity Center · SAA-C03 / primary documentation consulted 2026-10-04
- Policy evaluation logic · SAA-C03 / primary documentation consulted 2026-10-04