AWS bedrock: Swap example AWS account ID in BMA trust and PassRole policies
Summary
Replaces the placeholder account number 123456789012 with 111122223333 throughout the sample IAM trust policy (aws:SourceAccount / aws:SourceArn conditions) and the iam:PassRole policy example for Bedrock managed agents.
Security assessment
Only the dummy account ID in the documented trust policy condition and role ARN is changed; the security controls shown (aws:SourceAccount/aws:SourceArn confused-deputy conditions and iam:PassRole scoping) are unchanged, so this is a cosmetic placeholder update with no new guidance or vulnerability fix.
Evidence
+ "ArnLike": {"aws:SourceArn": "arn:aws:bedrock-mantle:*:111122223333:*"}
Diff
diff --git a/bedrock/latest/userguide/bedrock-managed-agents-openai-security.md b/bedrock/latest/userguide/bedrock-managed-agents-openai-security.md index a23c68f..f267196 100644 --- a//bedrock/latest/userguide/bedrock-managed-agents-openai-security.md +++ b//bedrock/latest/userguide/bedrock-managed-agents-openai-security.md @@ -23 +23 @@ Supply a same-account IAM role ARN in `role_arn` when creating a session. You ca -The following trust policy allows BMA to assume a role on behalf of the specified account. Replace `123456789012` with your account ID: +The following trust policy allows BMA to assume a role on behalf of the specified account. Replace `111122223333` with your account ID: @@ -33,2 +33,2 @@ The following trust policy allows BMA to assume a role on behalf of the specifie - "StringEquals": {"aws:SourceAccount": "123456789012"}, - "ArnLike": {"aws:SourceArn": "arn:aws:bedrock-mantle:*:123456789012:*"} + "StringEquals": {"aws:SourceAccount": "111122223333"}, + "ArnLike": {"aws:SourceArn": "arn:aws:bedrock-mantle:*:111122223333:*"} @@ -70 +70 @@ The identity calling `CreateAgentSession` needs `iam:PassRole` on the session ro - "Resource": "arn:aws:iam::123456789012:role/BedrockManagedAgentsPreviewInferenceServiceRole", + "Resource": "arn:aws:iam::111122223333:role/BedrockManagedAgentsPreviewInferenceServiceRole",