DEV Community

Damien Gallagher
Damien Gallagher

Posted on

Private CA Service-Affiliated Mode: A CA Only One AWS Service Can Use

TL;DR

  • Service-affiliated mode is a new Private CA operating mode: a CA in your account that only one named AWS service can issue from, for the resources you attach.
  • For anyone who wants AWS to issue certificates from a CA they own. At launch the only service is AWS IAM for agents (itself in preview).
  • GA announced 1 Dec 2026, in all commercial Regions where Private CA is available.
  • Price per the pricing page as of 2026-12-01: $20 per CA per month, plus $0.001233 per certificate validity-hour. No free trial.
  • My view: a sensible default for service-issued certs. Replication and the lack of delete protection are the bits to plan for.

Contents


What launched

On 1 December 2026 AWS announced general availability of a service-affiliated operating mode for AWS Private CA. A service-affiliated CA lives in your account, and only one AWS service can request certificates from it, and only for resources you have associated with that CA.

The old way to let a service issue from your CA was a broad grant, usually narrowed by certificate template. Getting the CA configuration right was your job. AWS describes the new mode as secure by construction instead of by configuration. Private CA sets and enforces the controls for the affiliated service. It validates the CA against the service's requirements at creation, and, per the launch post, it prevents deletion while the CA is associated with a resource (the IAM for agents docs qualify this, see the considerations below). You still own the CA, and every certificate the service issues is recorded in CloudTrail. The CA can be a root, or a subordinate under your existing root.

Item What the sources say
Status GA, announced 1 Dec 2026
Supported service at launch AWS IAM for agents and workloads (affiliation code IAM_WORKLOAD_IDENTITY), which is in preview
Regions All commercial Regions where Private CA is available (for use with IAM for agents)
CA operation price $20 per CA per month (pricing page, 2026-12-01)
Certificate price $0.001233 per validity-hour, per Region
Free trial Does not apply to this mode
Mode and affiliation Chosen at creation, can't be changed later

How it differs from the other two modes

The CA modes page lists three modes, and the mode affects the allowed certificate validity.

General-purpose Short-lived certificate Service-affiliated
Validity Any Up to 7 days Set by the service affiliation (at most one day for IAM for agents)
Who issues You, or services you grant You Only the affiliated service
CA fee $400/month $50/month $20/month
Cert fee $0.75 down to $0.001 per cert, tiered $0.058 per cert $0.001233 per validity-hour

The prices are from the pricing page as of 2026-12-01. The billing unit is the interesting change. A validity-hour is one hour of a certificate's validity period, so a 6-hour certificate is 6 validity-hours. You pay for how long the certificate lives, not for how many you mint.

The service-affiliated CA page is also clear about what you lose, because the affiliation presets certificate validity, revocation, key algorithms and deletion protection. On such a CA:

  • IssueCertificate only works for the CA's own self-signed certificate. No end-entity certificates, no subordinate CA certificates.
  • ImportCertificateAuthorityCertificate works once, to activate the CA.
  • UpdateCertificateAuthority only changes status between ACTIVE and DISABLED.
  • You can't attach a resource-based policy (PutPolicy, DeletePolicy) or generate audit reports.
  • RevokeCertificate only works if the affiliation turns revocation on.
  • ACM can't issue or renew certificates from it.

So this is not a general CA with a nicer label. It is a narrow, locked-down CA for one job.


The IAM for agents setup

The one launch use case is AWS IAM for agents, which issues short-lived X.509 certificates as identities for agents and workloads. I haven't covered that service itself. It is in preview, so treat its details as subject to change. The Private CA side is documented in Secure workloads with AWS Private CA and AWS IAM for agents.

How it works, going by the docs:

  1. You create and activate the CA in us-east-1. That Region is always the primary.
  2. You replicate it to every Region where workloads run. IAM does not do this for you.
  3. In IAM you attach the CA to a workload identity provider as its X.509 outbound signer. That creates the association.
  4. A workload calls the STS GetCertificate operation in its own Region, and STS issues from the CA copy in that Region.

A Region with no ACTIVE copy issues nothing. Replicas share the primary's ID, key material and CA certificate, and a replica's ARN differs only in the Region field.

The create command from the create-CA examples is short:

aws acm-pca create-certificate-authority \
  --region us-east-1 \
  --certificate-authority-configuration file://ca_config.json \
  --certificate-authority-type "ROOT" \
  --usage-mode SERVICE_AFFILIATED \
  --service-affiliation ServiceAffiliationCode=IAM_WORKLOAD_IDENTITY
Enter fullscreen mode Exit fullscreen mode

Based on the docs example, not tested by me. The get-started page says the config can use RSA_2048, RSA_3072, RSA_4096, EC_prime256v1, EC_secp384r1 or EC_secp521r1, and that you must not configure revocation, because the affiliation turns CRLs and OCSP off. Use SUBORDINATE instead of ROOT if your own root should sign it. Replicas come from batch-create-certificate-authority-replica (up to 20 Regions per call) or create-certificate-authority-replica, both called in the primary Region.


What this means for you

Who this affects

Almost nobody today, and that is fine. Only IAM for agents supports the mode, and IAM for agents is in preview. If you aren't giving workloads or agents certificate identities, there is nothing to do. If you are experimenting with it, this is the CA you need, so read the setup page before the first test.

My view: the design is right. A service that issues from your CA should get a CA built for that service, not a permissive general CA plus a hope that the template is tight.

What gets simpler

  • The CA arrives pre-configured for the service. The preset validity, revocation and key algorithm settings remove a class of misconfiguration.
  • Accidental deletion is harder in the console, which the docs say won't let you disable or delete a CA that has associations. The API is a different story, see below.
  • Audit is straightforward. The Associations tab, or ListCertificateAuthorityAssociations, shows which resources use the CA.

What gets more complex

  • Replication is manual. One CA per Region of use, and each replica counts as one CA against that Region's CA quota, per the considerations page. A Region at its quota fails the replica with LimitExceededException. Each target Region must also be enabled for your account.
  • No delete protection through the API. The docs say that for this affiliation the API lets you disable or delete the CA while attached. Workloads then stop getting certificates in the affected Regions. The console behaves differently, so don't rely on it in automation.
  • Teardown has an order. Detach in IAM, wait for the signer to go INACTIVE, delete the signer, delete replicas, then the primary last. After a rotation, don't disable the old signer, as that also stops the new CA (teardown steps).
  • You can't swap the CA certificate. To change it, create a new CA and rotate the provider to it in IAM.
  • Cross-account needs an organisation-level provider. An account-level provider in a different account from the CA issues no certificates. The workload's role also needs a statement allowing acm-pca:IssueCertificate and acm-pca:GetCertificate on the CA, with aws:ViaAWSService set to true.

Cost

Two pieces, both from the pricing page as of 2026-12-01: $20 per CA per month, and $0.001233 per validity-hour per Region. The docs say a CA with this affiliation has no lifetime quota on certificates issued. The free trial does not apply.

Worked example. The docs say STS issues workload certificates valid for 1 to 12 hours. Suppose one CA issues 10,000 certificates a month, each valid for 12 hours:

  • 10,000 x 12 = 120,000 validity-hours
  • 120,000 x $0.001233 = $147.96
  • Plus the CA fee of $20, for a total of $167.96 per month

With 1-hour certificates it is 10,000 validity-hours, or $12.33, plus $20, so $32.33. This ignores replicas. Whether each replica is charged the $20 CA fee is not stated on the pages I read, so check the calculator before you replicate widely. Shorter lifetimes cost less per certificate, but they mean more issuance calls, so the saving only holds if the workload doesn't just re-request constantly.

Getting the best out of it

  • Put the CA in a dedicated account if you can, and use the cross-account permission model rather than sharing the account with the workloads.
  • Use your own root and a subordinate service-affiliated CA if you want the trust chain to match your existing PKI. The docs say a subordinate is supported.
  • Automate replica creation and teardown in your own tooling. Whether CloudFormation, CDK or Terraform support the new mode is not stated in what I read, so I'd check the resource documentation before assuming.
  • Watch CloudTrail for issuance, since that is where AWS says certificates are recorded.

Other angles

Existing short-lived mode is still the choice when you issue certificates yourself and want a cheap CA. Service-affiliated mode only wins when the service does the issuing. Whether other AWS services will gain affiliations is not stated beyond the docs table listing one.

If you want to try this, the first step is a throwaway root CA in us-east-1, one replica, and a preview workload identity provider. Which Regions will you actually need replicas in?


Related posts


Sources

Drafted with AI assistance. I review and edit every post.

Top comments (0)