AWS Security ChangesHomeSearch

AWS bedrock medium security documentation change

Service: bedrock · 2025-10-28 · Security-related medium

File: bedrock/latest/userguide/api-keys-permissions.md

Summary

Restructured IAM policy examples for API key permissions and added JSON formatting markers.

Security assessment

The changes clarify how to restrict short-term and long-term API key usage via IAM policies, directly addressing secure key management. The added examples enforce security controls for Bedrock API access.

Diff

diff --git a/bedrock/latest/userguide/api-keys-permissions.md b/bedrock/latest/userguide/api-keys-permissions.md
index c53c88bae..874cfde73 100644
--- a//bedrock/latest/userguide/api-keys-permissions.md
+++ b//bedrock/latest/userguide/api-keys-permissions.md
@@ -111,16 +110,0 @@ To prevent an IAM identity from using short-term Amazon Bedrock API keys, attach
-    
-    {
-        "Version": "2012-10-17",		 	 	 
-        "Statement": [
-            {
-                "Effect": "Deny",
-                "Action": "bedrock:CallWithBearerToken",
-                "Resource": "*",
-                "Condition": {
-                    "StringEquals": {
-                        "bedrock:bearerTokenType": "SHORT_TERM"
-                    }
-                }
-            }
-    }
-
@@ -130,0 +115,6 @@ To prevent an IAM identity from using long-term Amazon Bedrock API keys, attach
+JSON
+    
+
+****
+    
+    
@@ -151,0 +143,6 @@ To explicitly prevent an IAM identity from using short-term Amazon Bedrock API k
+JSON
+    
+
+****
+    
+    
@@ -177,0 +176,6 @@ To explicitly prevent an IAM identity from using long-term Amazon Bedrock API ke
+JSON
+    
+
+****
+    
+    
@@ -203,0 +209,6 @@ To allow an IAM identity to create a long-term API key only if it is for Amazon
+JSON
+    
+
+****
+    
+