AWS bedrock-agentcore documentation change
Summary
Updated documentation for managing workload identities with CLI/SDK examples. Added list identities command, code formatting improvements, and terminology changes.
Security assessment
Changes focus on functionality improvements (adding list command) and documentation clarity. No security vulnerabilities addressed or security features documented.
Diff
diff --git a/bedrock-agentcore/latest/devguide/creating-agent-identities.md b/bedrock-agentcore/latest/devguide/creating-agent-identities.md index ad0658340..93ab26fcb 100644 --- a//bedrock-agentcore/latest/devguide/creating-agent-identities.md +++ b//bedrock-agentcore/latest/devguide/creating-agent-identities.md @@ -9 +9 @@ Amazon Bedrock AgentCore is in preview release and is subject to change. -# Create and configure workload identities +# Create and manage workload identities @@ -11 +11 @@ Amazon Bedrock AgentCore is in preview release and is subject to change. -You can create agent identities using several methods, including the AWS CLI and the AgentCore SDK, depending on your workflow and integration requirements. AgentCore Identity provides multiple interfaces for identity creation including command-line tools for automation and scripting and programmatic APIs for integration with existing systems. Each creation method supports the full range of identity configuration options while providing appropriate interfaces for different use cases and user preferences. +You can create agent identities using several methods, including the AWS CLI and the AgentCore SDK, depending on your workflow and integration requirements. AgentCore Identity provides multiple interfaces for identity creation including command-line tools for automation and scripting and programmatic APIs for integration with existing systems. Each creation method supports the full range of identity properties while providing appropriate interfaces for different use cases and user preferences. @@ -32,0 +33,5 @@ The AWS CLI provides a straightforward way to create and delete agent identities +**List all identities:** + + + aws bedrock-agentcore-control list-workload-identities + @@ -37 +42 @@ The AWS CLI provides a straightforward way to create and delete agent identities - --name "my-agent" \ + --name "my-agent" @@ -50,2 +55,5 @@ The AgentCore SDK provides support for creating workload identities in Python. - identity_client= IdentityClient("us-east-1")# Create a new workload identity for agent - response= identity_client.create_workload_identity(name= 'my-python-agent')agentArn= response['workloadIdentityArn'] + identity_client = IdentityClient("us-east-1") + + # Create a new workload identity for agent + response = identity_client.create_workload_identity(name='my-python-agent') + agentArn = response['workloadIdentityArn'] @@ -61 +69 @@ To use the Amazon Web Services Documentation, Javascript must be enabled. Please -Understanding identities +Agent identity directory