AWS IAM medium security documentation change
Summary
Added warning notes about service-to-service calls being blocked in Deny statements using network condition keys, with mitigation guidance.
Security assessment
Explicitly addresses security misconfiguration risks where service principals could be unintentionally blocked by network-based Deny policies, providing concrete mitigation using aws:PrincipalIsAWSService condition key.
Diff
diff --git a/IAM/latest/UserGuide/reference_policies_condition-keys.md b/IAM/latest/UserGuide/reference_policies_condition-keys.md index 3562d2a69..f954f5e49 100644 --- a//IAM/latest/UserGuide/reference_policies_condition-keys.md +++ b//IAM/latest/UserGuide/reference_policies_condition-keys.md @@ -1285,0 +1286,4 @@ AWS recommends to use `aws:SourceVpcArn` instead of `aws:SourceVpc` if `aws:Sour +###### Note + +When AWS services make calls to other AWS services on your behalf (service-to-service calls), certain network-specific authorization context is redacted. If your policy uses this condition key with `Deny` statements, AWS service principals might be unintentionally blocked. To allow AWS services to work properly while maintaining your security requirements, exclude service principals from your `Deny` statements by adding the `aws:PrincipalIsAWSService` condition key with a value of `false`. + @@ -1396,0 +1401,4 @@ The following is an example of a bucket policy that denies access to `amzn-s3-de +###### Note + +When AWS services make calls to other AWS services on your behalf (service-to-service calls), certain network-specific authorization context is redacted. If your policy uses this condition key with `Deny` statements, AWS service principals might be unintentionally blocked. To allow AWS services to work properly while maintaining your security requirements, exclude service principals from your `Deny` statements by adding the `aws:PrincipalIsAWSService` condition key with a value of `false`. + @@ -1411,0 +1420,4 @@ In a policy, you can use this key to restrict access to a specific VPC endpoint. +###### Note + +When AWS services make calls to other AWS services on your behalf (service-to-service calls), certain network-specific authorization context is redacted. If your policy uses this condition key with `Deny` statements, AWS service principals might be unintentionally blocked. To allow AWS services to work properly while maintaining your security requirements, exclude service principals from your `Deny` statements by adding the `aws:PrincipalIsAWSService` condition key with a value of `false`. + @@ -1691,0 +1704,4 @@ This condition key is currently supported for a select set of AWS services. Usin +###### Note + +When AWS services make calls to other AWS services on your behalf (service-to-service calls), certain network-specific authorization context is redacted. If your policy uses this condition key with `Deny` statements, AWS service principals might be unintentionally blocked. To allow AWS services to work properly while maintaining your security requirements, exclude service principals from your `Deny` statements by adding the `aws:PrincipalIsAWSService` condition key with a value of `false`. +