AWS apprunner high security documentation change
Summary
Added IAM policy examples for Secrets Manager and SSM parameter access
Security assessment
The policies demonstrate least-privilege access to sensitive resources (secrets and parameters) including required decryption permissions, which are security-critical for proper credential management.
Diff
diff --git a/apprunner/latest/dg/env-variable.md b/apprunner/latest/dg/env-variable.md index a8f0c0110..a1d7a808d 100644 --- a//apprunner/latest/dg/env-variable.md +++ b//apprunner/latest/dg/env-variable.md @@ -95,0 +96,14 @@ Copy, the following template to your instance role to add permission to referenc +JSON + + +**** + + + + { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ + "secretsmanager:GetSecretValue", "kms:Decrypt*" ], "Resource": [ + "arn:aws:secretsmanager:us-east-1:111122223333:secret:my-secret", + "arn:aws:kms:us-east-1:111122223333:key/my-key" + ] } ] } + + @@ -97,0 +112,23 @@ Copy the following template to your instance role to add permission to reference +JSON + + +**** + + + + { + "Version": "2012-10-17", + "Statement": [ + { + "Effect": "Allow", + "Action": [ + "ssm:GetParameters" + ], + "Resource": [ + "arn:aws:ssm:us-east-1:111122223333:parameter/my-parameter" + ] + } + ] + } + +