AWS Security ChangesHomeSearch

AWS bedrock-agentcore documentation change

Service: bedrock-agentcore · 2026-04-01 · Documentation low

File: bedrock-agentcore/latest/devguide/obtain-api-key.md

Summary

Updated code example to replace actual API key usage with a placeholder comment and moved the async invocation to a comment

Security assessment

This change modifies a code example to show placeholder usage instead of actual API key invocation. While it involves API keys (a security concept), the change appears to be a documentation improvement for clarity rather than addressing a specific security vulnerability. No evidence of security incident remediation.

Diff

diff --git a/bedrock-agentcore/latest/devguide/obtain-api-key.md b/bedrock-agentcore/latest/devguide/obtain-api-key.md
index ab21cb021..fad076607 100644
--- a//bedrock-agentcore/latest/devguide/obtain-api-key.md
+++ b//bedrock-agentcore/latest/devguide/obtain-api-key.md
@@ -17 +17,5 @@ Once you have stored your API keys in the AgentCore Identity vault, you can retr
-        asyncio.run(need_api_key(api_key))
+        # Use the API key
+        pass
+    
+    # To invoke:
+    # asyncio.run(need_api_key())