AgentCore Identity adds private CA support for custom OAuth providers
The change lets agents validate identity-provider certificates against a private CA instead of requiring a publicly trusted TLS certificate. The certificate is supplied through Secrets Manager or S3, subject to regional, format, access, and configuration requirements.

A CA certificate file must be PEM-encoded and no larger than 16 KB.1
Each credential provider can point to one secret or one S3 object for its CA certificate.1
Support covers machine-to-machine, on-behalf-of, and user-delegated flows without code changes.1
Story
How private CA trust works in AgentCore IdentityAmazon Bedrock AgentCore Identity now accepts private certificate authorities for custom OAuth 2.0 credential providers, changing which certificates an identity provider can present for a private connection.1 Previously, an identity provider used for private connectivity had to present a TLS certificate trusted publicly; the new option allows the agent to trust certificates issued by a private authority instead.1 The supported issuers include AWS Private CA, enterprise certificate authorities, and self-signed root authorities, giving the provider configuration a way to rely on organization-specific trust.1 This is a change in certificate validation, not a stated change to the OAuth provider’s role: the feature applies to custom OAuth 2.0 credential providers within AgentCore Identity.1
To configure that trust, the CA certificate is placed in AWS Secrets Manager or Amazon S3, and the credential provider configuration points to the stored certificate.1 AgentCore Identity then uses that certificate to check the identity provider’s server certificate directly, rather than depending on a publicly trusted certificate for that check.1 The stored file must use PEM encoding, stay within the stated 16 KB maximum, and contain only root or intermediate CA certificates that remain within their validity period.1 A provider may refer to one secret or one S3 object, so configurations that need multiple CA certificates must place them together in a single PEM file.1
The certificate’s storage location has to be in the same AWS Region as the credential provider, whether the configuration uses Secrets Manager or S3.1 For Secrets Manager, the secret also has to belong to the provider’s AWS account; S3 has a different allowance, because an object may be held in another account when the specified account ownership and bucket access conditions are met.1 Those S3 conditions are that the configuration supplies bucketOwnerAccountId and the bucket policy allows access, while the same-Region requirement still applies.1 The distinction is relevant when choosing where to keep the trust material: Secrets Manager restricts both Region and account, while S3 permits a cross-account object under the stated controls but not a cross-Region one.1
Private CA validation requires the credential provider to have a privateEndpoint configured; without it, the request fails and returns a specific error message.1 The configuration is therefore not just a reference to a CA file: it also needs the private endpoint setting that the feature requires.1 AgentCore Identity accesses the certificate using the permissions of the principal that invokes CreateOauth2CredentialProvider.1 If the certificate is encrypted under a customer-managed KMS key, that principal additionally needs kms:Decrypt authorization for the key.1
The feature supports machine-to-machine, on-behalf-of, and user-delegated flows, and the blog states that using private CA certificates in these flows does not require code changes.1 That statement concerns the three named flow types; it does not remove the certificate, storage, endpoint, or permissions requirements described for configuring trust.1 The CA file’s single-reference limit also applies regardless of flow: if more than one CA is needed, the certificates must be combined in the PEM file referenced by the provider.1 The feature thus changes the accepted source of certificate trust while retaining explicit constraints on how that trust is packaged and made available.1
Certificate rotation can be performed without downtime by putting the current and replacement certificates together in one PEM file.1 This method fits the single-object or single-secret arrangement: the provider can reference one file containing both certificates during the rotation process.1 The stated rotation method does not change the PEM format, size ceiling, or certificate-content rules, which continue to govern the CA file.1 The documentation describes the no-downtime outcome as part of the rotation capability, without specifying a rotation schedule or additional operational steps beyond combining the certificates.1
The AWS walkthrough demonstrates issuing an identity-provider server certificate with AWS Private CA and setting up AgentCore Identity to trust it.1 In that example, the identity provider’s load balancer can present a private certificate issued through AWS Certificate Manager and signed by AWS Private CA.1 AgentCore Identity checks that presented server certificate against the CA certificate stored for the credential provider.1 The walkthrough therefore illustrates the relationship between the issuer, the certificate presented by the load balancer, and the CA material configured as the trust reference.1
Availability is limited to AWS Regions where AgentCore Identity offers private identity-provider connectivity, rather than being described as available in every Region.1 The blog further identifies the relevant regional boundary as Regions where both VPC Lattice and AgentCore Identity private identity-provider connectivity are available.1 Together, those statements make regional service availability part of the deployment check, alongside the requirement that the CA secret or S3 object share a Region with the credential provider.1 A deployment must therefore fit both conditions: the feature must be available in its Region, and its referenced CA material must be stored in that same Region as the provider.1
The practical change is that a private identity provider no longer needs a publicly trusted TLS certificate for AgentCore Identity to validate its server certificate, provided the private CA trust is configured.1 The available trust sources range from AWS Private CA to enterprise and self-signed root authorities, while the certificate itself remains subject to the stated file and validity constraints.1 The feature covers the named machine-to-machine, on-behalf-of, and user-delegated flows without code changes, but access depends on a configured private endpoint and appropriate permissions for retrieving and, where applicable, decrypting the certificate.1 Its scope is consequently defined by the supported flows, the private connectivity and regional conditions, and the certificate configuration rules, rather than by a stated numerical change in usage or capacity.1
Structure
Who is connected to whom- 1Amazon Bedrock AgentCore Identity
- part of →Fact
- ← depends onFact
- uses →Fact
- depends on →Fact
- ← usesFact
Impact
Spreading outward, level by level- Level 1Certificate validation
For private IdP connections, AgentCore Identity can validate the server certificate against stored private CA material instead of requiring a publicly trusted certificate.1
Fact - Level 2Provider configuration and access
Use a privateEndpoint and point the provider configuration to a CA certificate in Secrets Manager or S3. The certificate must meet the documented format and content limits; the calling principal needs access, and a customer-managed KMS key also requires decrypt permission.1
Fact - Level 3Rotation and supported flows
The documented rotation approach combines current and replacement CA certificates in one PEM file, and the feature applies to the named flows without code changes.1
Fact - Level 4Deployment scope
Teams can consider private CA trust for these flows where private IdP connectivity is available, while checking regional availability and the location and access requirements for the stored certificate.
Analysis
Sources
What each source supportsWritten by AI from the sources listed below: every fact was checked word for word against its source, and inference is marked apart. How we write