Menu

Auditing Cross-Account S3 + KMS + AssumeRole Effective Access in <15ms via MCP
📰

Auditing Cross-Account S3 + KMS + AssumeRole Effective Access in <15ms via MCP

DEV Community: aws·CoreNova·3 days ago
#TNK3ItAn
#devtoaws#devto#dev#policy#role
Long article (423 words) — no AI summary yet.
Reading 0:00
15s threshold

In a multi-account AWS Organization, "who can actually read this S3 bucket?" is rarely answered by reading the bucket policy alone.

When buckets use SSE-KMS and cross-account roles are assumed via SSO or third-party trust policies, an IAM role with s3:GetObject on * can still be blocked by a missing kms:Decrypt grant or an Organization SCP. Conversely, delegating KMS key trust to arn:aws:iam::<account>:root silently lets any role in that account with kms:Decrypt in its identity policy decrypt objects once the bucket policy allows it.

Evaluating the full policy intersection

We just shipped v1.3.0 of CoreNova Cloud IAM & IaC Security Audit API + MCP (now PUBLIC on AWS Marketplace) with a zero-dependency effective read-access evaluator ( POST /v1/scan/s3-access and MCP tool audit_s3_kms_effective_access ).

Given a bucket policy, KMS key policy, optional Organization SCPs, and candidate principals (identity + sts:AssumeRole trust policies), it evaluates each layer and tells you:

Which principals resolve to…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.