AWS athena medium security documentation change
Summary
Removed JSON policy examples for trusted identity propagation and replaced them with placeholders.
Security assessment
The removal of critical IAM policy examples without clear substitution could lead to misconfiguration of security-sensitive roles (e.g., missing conditions or incorrect actions like sts:AssumeRole). This creates a risk of insecure policies if users lack proper guidance.
Diff
diff --git a/athena/latest/ug/using-trusted-identity-propagation-setup.md b/athena/latest/ug/using-trusted-identity-propagation-setup.md index 606f55392..2e9d39d36 100644 --- a//athena/latest/ug/using-trusted-identity-propagation-setup.md +++ b//athena/latest/ug/using-trusted-identity-propagation-setup.md @@ -35,20 +34,0 @@ Copy the Application Resource Name (ARN) for AWS IAM Identity provider. For more - { - "Version": "2012-10-17", - "Statement": [ - { - "Effect": "Allow", - "Principal": { - "Federated": "arn:aws:iam::111122223333:oidc-provider/issuer-url" - }, - "Action": [ - "sts:AssumeRoleWithWebIdentity" - ], - "Condition": { - "StringEquals": { - "issuer:aud": "identity-provider-audience" - } - } - } - ] - } - @@ -56,0 +37,6 @@ Copy the Application Resource Name (ARN) for AWS IAM Identity provider. For more +JSON + + +**** + + @@ -92,25 +78,0 @@ Copy the Application Resource Name (ARN) for AWS IAM Identity provider. For more - { - "Version": "2012-10-17", - "Statement": [ - { - "Effect": "Allow", - "Principal": { - "AWS": "arn:aws:iam::111122223333:role/application-role-arn" - }, - "Action": [ - "sts:AssumeRole", - "sts:SetContext" - ] - }, - { - "Effect": "Allow", - "Principal": { - "Federated": "arn:aws:iam::111122223333:oidc-provider/issuer-url" - }, - "Action": [ - "sts:AssumeRole" - ] - } - ] - } - @@ -118,0 +81,6 @@ Copy the Application Resource Name (ARN) for AWS IAM Identity provider. For more +JSON + + +**** + +