Private certificate authority support in Amazon Bedrock AgentCore Identity

In one sentence

Amazon Bedrock AgentCore Identity now supports private certificate authorities, enabling AI agents to securely connect to self-hosted identity providers via Amazon VPC Lattice.

Key points

  • AgentCore Identity now supports PEM-encoded private CA certificates stored in AWS Secrets Manager or Amazon S3 to validate private identity providers.
  • The feature uses Amazon VPC Lattice for private network connectivity and works with enterprise, third-party, or self-signed root CAs.
  • Credential providers must configure a private endpoint to use this feature, and each PEM certificate file must not exceed 16 KB.
  • Machine-to-machine, on-behalf-of, and user-delegated flows are supported without requiring code changes to the agents.

In depth

An AI-written overview of the original article, not the article itself.

Amazon Bedrock AgentCore Identity now supports private certificate authorities (CAs) for self-hosted identity providers (IdPs) like Keycloak or PingFederate, according to an AWS blog post. This allows AI agents to securely connect to internal IdPs using an organization's existing private CA without modifying agent code.

How private CA support works

To use this feature, teams store their PEM-encoded root or intermediate CA public certificate in AWS Secrets Manager or Amazon S3 and reference it in an AgentCore Identity credential provider.

AgentCore Identity connects to the private IdP through Amazon VPC Lattice, which is required for this feature and can be managed by AWS or the user. It then validates the server certificates presented by the IdP's discovery, JWKS, and token endpoints against the stored CA.

Requirements and constraints

The post notes that private CA support only works with private IdPs configured with a privateEndpoint. The PEM file must be 16 KB or smaller and contain only valid CA certificates, while the IdP's server certificate must include matching hostnames as subject alternative names.

Storage location rules also apply: Secrets Manager secrets must be in the same AWS Region and account as the credential provider. S3 objects must be in the same Region but can reside in another account if bucketOwnerAccountId is specified.

Monitoring and certificate rotation

To prevent token request failures, AgentCore Identity publishes the EarliestCertificateDaysToExpiry metric to Amazon CloudWatch, allowing teams to set alarms before a CA certificate expires.

Because AgentCore Identity only reads the certificate when creating or updating a credential provider, teams must call UpdateOauth2CredentialProvider after updating the certificate in Secrets Manager or S3.

Read originalOpens aws.amazon.com

This summary was generated by AI from the original article and may contain errors; the original is authoritative. Copyright belongs to the original author.

Recent stories from this source

Private certificate authority support in Amazon Bedrock AgentCore Identity · aiaddr