
Authenticate with Private Key JWT using Amazon Bedrock AgentCore Identity
Quick Answer
Amazon Bedrock AgentCore Identity now supports Private Key JWT client authentication, allowing agents to authenticate with a signed JWT instead of a shared OAuth 2.0 secret.
Quick Take
This enhances security by keeping the private key in AWS KMS while enabling seamless access to downstream APIs.
Key Points
- Private Key JWT allows agents to authenticate without sharing OAuth 2.0 secrets.
- Public keys can be registered with identity providers, enhancing security.
- AWS KMS signs JWT assertions, keeping private keys secure.
- Supports multiple grant flows: M2M, OBO, and user-delegated access.
- Requires AWS account access and proper permissions for KMS and AgentCore.
Source Excerpt
This post explains how Private Key JWT client authentication works in AgentCore Identity and reviews the supported grant flows. We then walk through creating an AWS KMS signing key, registering its public key with your identity provider, configuring a credential provider on the AWS Management Console, and reviewing example AWS CloudTrail events that record your agent’s access.
Want this in your inbox every morning?
Daily brief at your local 8am — bilingual EN/中文, free.
More from AWS Machine Learning
See more →
Build an explainable next-best-product recommendation system for banking on AWS
AWS presents a deep learning-based Next-Best-Product recommendation system for banks, utilizing Amazon SageMaker and PyTorch to enhance customer product predictions. This architecture leverages a multi-tower neural network for improved accuracy and explainability, addressing the complexities of customer data in financial services.

