AWS Security ChangesHomeSearch

AWS bedrock-agentcore documentation change

Service: bedrock-agentcore · 2025-08-10 · Documentation low

File: bedrock-agentcore/latest/devguide/get-workload-access-token.md

Summary

Code formatting changes consolidating comments and removing line breaks in SDK examples for obtaining workload access tokens

Security assessment

Changes are purely code formatting/syntax adjustments without altering security implications of token acquisition process

Diff

diff --git a/bedrock-agentcore/latest/devguide/get-workload-access-token.md b/bedrock-agentcore/latest/devguide/get-workload-access-token.md
index 1a0dafa4f..b9a364b39 100644
--- a//bedrock-agentcore/latest/devguide/get-workload-access-token.md
+++ b//bedrock-agentcore/latest/devguide/get-workload-access-token.md
@@ -23,3 +23 @@ The examples below illustrate using the AgentCore SDK to retrieve a workload acc
-    identity_client = IdentityClient("us-east-1")
-    
-    # Obtain a token using the IAM identity of the caller to authenticate the agent and providing a JWT containing the identity of the end user.
+    identity_client= IdentityClient("us-east-1")# Obtain a token using the IAM identity of the caller to authenticate the agent and providing a JWT containing the identity of the end user.
@@ -27,3 +25 @@ The examples below illustrate using the AgentCore SDK to retrieve a workload acc
-    workload_access_token = identity_client.get_workload_access_token(workload_name="my-demo-agent", user_token="insert-jwt-here")
-    
-    # Obtain a token using the IAM identity of the caller to authenticate the agent and providing a string representing the identity of the end user.
+    workload_access_token= identity_client.get_workload_access_token(workload_name= "my-demo-agent", user_token= "insert-jwt-here")# Obtain a token using the IAM identity of the caller to authenticate the agent and providing a string representing the identity of the end user.