Briefing · Video · source · published · Boston Identity
State Farm moved SPIRE from many token issuers to one, then hit an AWS key quota and a 15-character name limit
Two State Farm platform engineers walk a KubeCon audience through replacing a per-cluster SPIRE setup with a nested one across more than 40 Kubernetes clusters on AWS. Consumers now trust one JWT issuer per trust domain instead of many discovery endpoints. The rollout ran into a hard AWS limit of 100 assume-role keys and a 15-character name limit, and a 48-hour token overlap kept applications running through the cutover.
CNCF [Cloud Native Computing Foundation] · November 24, 2025 · watch on YouTube
What's happening
Finding4State Farm's platform team replaced per-cluster SPIRE with a nested setup under one root, so consumers now see one JWT issuer per trust domain.
State Farm's platform team replaced a per-cluster SPIRE setup, which left consumers with many OIDC discovery endpoints to configure, with a nested one. A root SPIRE server in the management cluster chains to an AWS Private CA run by infosec, and each business-area cluster runs a child server with its own intermediate CA and an RDS Postgres database in place of SQLite. The root publishes the public key set to S3 through the bundle publisher plugin, served from CloudFront, so consumers now see "one known valid" JWT issuer per trust domain. Ivy Alkhaz says workloads can validate tokens the child servers issue "without ever contacting the root cluster."
Each child cluster signs with its own intermediate CA under the root SPIRE server, and consumers check tokens against one public key set on CloudFront.
Drawn from the speakers' walkthrough of their topologySource dated November 24, 2025Passage: 04:09
Swipe for the full figure →
The rollout to more than 40 clusters ran into limits outside SPIFFE, among them an AWS limit of 100 assume-role keys and a 15-character name limit.
The rollout to more than 40 clusters, passive region first, ran into limits outside SPIFFE itself. AWS told the team its limit of 100 assume-role keys was a hard one, so they cut replicas from three active and three passive to two and one, then lengthened the intermediate CA's time to live so fewer keys were in rotation. A 15-character limit, which the speakers place in a service name in the kubeconfig, made them shorten cluster names into abbreviations, and the upstream change was still an open pull request. To keep applications running through the cutover, they overlapped JWT-SVID validity between the old and new setups by 48 hours, and Alkhaz says consumers "were none the wiser."
Each child cluster's short-lived kubeconfig reaches the root cluster through AWS Secrets Manager, pushed there by External Secrets Operator.
The root server learns about each child cluster through that cluster's kubeconfig, and moving those across AWS accounts is a secrets job. A cron job in each child cluster generates a short-lived kubeconfig, External Secrets Operator's PushSecret writes it to AWS Secrets Manager under a cross-account resource policy, and the root cluster's operator reads it. Terraform creates the empty secret first, tagged "managed by external secrets" so the operator takes over the value. We read this as the cost of the design: a system built to remove static secrets for workloads still runs its own control plane on a secret pipeline, here short-lived and bound by policy.
State Farm's adoption has been mostly JWT-SVIDs, with X.509 next, and nothing outside Kubernetes uses the setup yet.
Adoption at State Farm has been mostly JWT-SVIDs, which May Large says the team "mainly did" from the start. X.509 comes next: the speakers want service mesh, with Istio's secret discovery service, to be the "jump point" for more of it, and they are writing mTLS examples. Teams are pointed to the SPIFFE libraries, and applications that cannot be changed get a cron job or a sidecar built on spiffe-helper. Nothing outside Kubernetes uses it yet, though they plan to support other platforms.
Part by part
7showing 7 of 7
[1]Why SPIRE, and the bespoke deployment that would not scale
Ivy Alkhaz, State Farm · May Large, State Farm — 01:53–03:52
Non-human identity
Why SPIRE, and the bespoke deployment that would not scale
Ivy Alkhaz, State Farm · May Large, State Farm — 01:53–03:52
The State Farm engineers say they adopted SPIRE to get rid of static secrets. Their first deployment ran SPIRE out of the box in each cluster, with SQLite storage, manifests kept cluster by cluster, an AWS private CA run by infosec, a key management store and an OIDC discovery service behind HAProxy. SQLite lost its data whenever the storage was wiped, and consumers faced a long list of OIDC endpoints.
customer prooffrom publisher captions
[2]Nested SPIRE topology: root server ('mom') and child servers
Ivy Alkhaz, State Farm · May Large, State Farm — 04:09–07:09
Non-human identity
Nested SPIRE topology: root server ('mom') and child servers
Ivy Alkhaz, State Farm · May Large, State Farm — 04:09–07:09
May Large's team of seven platform engineers runs the cluster fleet in AWS: about 10 clusters, doubled for two regions and doubled again for test and prod. The management cluster hosts the root SPIRE server, which the speakers call mom. Each child cluster runs RDS Postgres instead of SQLite and its own intermediate CA, after infosec agreed to a path length of two. An S3 bundle publisher behind CloudFront replaces the discovery service.
customer prooffrom publisher captions
[3]Hardened Helm chart and community support
Ivy Alkhaz, State Farm · May Large, State Farm — 08:37–12:24
Non-human identity
Hardened Helm chart and community support
Ivy Alkhaz, State Farm · May Large, State Farm — 08:37–12:24
Their advice to anyone starting out is to use the SPIFFE hardened Helm chart, keep its defaults, and follow the test script in the chart's repository for the chosen topology. The chart lets them pick up SPIRE releases on the monthly cycle. They got fixes through the SPIRE Slack and GitHub issues, and had to work out how to handle metrics that Dynatrace did not support.
customer prooffrom publisher captions
[4]External Secrets Operator for cross-account kubeconfig distribution
Ivy Alkhaz, State Farm · May Large, State Farm — 15:06–18:21
Non-human identity
External Secrets Operator for cross-account kubeconfig distribution
Ivy Alkhaz, State Farm · May Large, State Farm — 15:06–18:21
Every cluster runs External Secrets Operator (ESO), and each sits in its own AWS account. In a child cluster a cron job generates a short-lived kubeconfig, ESO's PushSecret writes it to AWS Secrets Manager under a cross-account resource policy, and ESO on the root cluster reads it. Terraform first creates an empty secret tagged 'managed by external secrets' so ESO can take over the value. An ESO maintainer fixed a bug in customer-managed-key support.
customer prooffrom publisher captions
[5]Rollout lessons across 40+ clusters
Ivy Alkhaz, State Farm · May Large, State Farm — 18:23–22:24
Non-human identity
Rollout lessons across 40+ clusters
Ivy Alkhaz, State Farm · May Large, State Farm — 18:23–22:24
Ivy Alkhaz covers the rollout to more than 40 clusters, which started with the passive region. A 15-character service-name limit forced shorter cluster names. To stay under AWS's hard limit of 100 assume-role keys, the team cut replicas and lengthened the intermediate CA's lifetime. A 48-hour overlap in JWT-SVID validity meant consumers saw no disruption, and workloads validate tokens from child servers without calling the root.
customer prooffrom publisher captions
[6]Consumption, spiffe-helper and roadmap
Ivy Alkhaz, State Farm · May Large, State Farm — 22:28–25:00
Non-human identity
Consumption, spiffe-helper and roadmap
Ivy Alkhaz, State Farm · May Large, State Farm — 22:28–25:00
May Large says the move left one known JWT issuer per trust domain instead of many, and the downstream agent now puts the Workload API on every node. Teams are sent to the SPIFFE libraries. For applications that cannot be refactored, the team offers a cron job and a sidecar built on spiffe-helper. Next on their list are a SPIRE UI, service mesh with X.509 and Istio's secret discovery service, and federation with more trust domains.
customer prooffrom publisher captions
[7]Q&A: non-Kubernetes, registration entries, adoption
Ivy Alkhaz, State Farm · May Large, State Farm — 26:25–30:13
Non-human identity
Q&A: non-Kubernetes, registration entries, adoption
Ivy Alkhaz, State Farm · May Large, State Farm — 26:25–30:13
A Geico attendee asks about platforms outside Kubernetes. None use it yet, though it is planned, and the root server may move off Kubernetes too. Registration entries are managed with the SPIRE controller. Adoption has been mainly JWT-SVIDs, with X.509 and mTLS examples in progress, and the fix for long cluster names is an open pull request in the SPIRE community.
customer prooffrom publisher captions
