Skip to content
IAM Insights

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

share
4 findings7 segmentsNon-human identity
30 minutes of video. With Ivy Alkhaz, speaker, State Farm; May Large, speaker, State Farm.
Claims draw on 7 of 7 segments. The most cited, at 18:23–22:24, backs 2.
1:53–3:52 · Why SPIRE, and the bespoke deployment that would not scale · 1 claim4:09–7:09 · Nested SPIRE topology: root server ('mom') and child servers · 1 claim8:37–12:24 · Hardened Helm chart and community support · 1 claim15:06–18:21 · External Secrets Operator for cross-account kubeconfig distribution · 1 claim18:23–22:24 · Rollout lessons across 40+ clusters · 2 claims22:28–25:00 · Consumption, spiffe-helper and roadmap · 2 claims26:25–30:13 · Q&A: non-Kubernetes, registration entries, adoption · 2 claims
0:00not cited1 claim23+30:13
01

What's happening

Finding4
BI-FIND-2025-0226Lead finding

State 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."

high confidencebest source: practitionersobserved Nov 2025Evidence01:5304:0922:28+1
flag a problem with BI-FIND-2025-0226
Fig. 1

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 →

BI-FIND-2025-0227

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."

high confidencebest source: practitionersobserved Nov 2025Evidence18:2326:25
flag a problem with BI-FIND-2025-0227
BI-FIND-2025-0228

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.

medium confidencebest source: practitionersobserved Nov 2025Evidence15:0608:37
flag a problem with BI-FIND-2025-0228
BI-FIND-2025-0229

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.

medium confidencebest source: practitionersobserved Nov 2025Evidence22:2826:25
flag a problem with BI-FIND-2025-0229
02

Part by part

7

showing 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

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

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

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

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

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

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

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

Terms used

Kubernetes
An open-source system for running and scheduling containerized workloads. Widely used as the deployment substrate for services and, increasingly, AI agent workloads — which is why workload-identity standards like SPIFFE/SPIRE are usually described in Kubernetes terms.
JWT
A compact, signed token that carries claims (who, for what, until when) between systems. It is the usual shape of an OAuth access token.
OpenID Connect
OpenID Connect — an identity layer on top of OAuth 2.0 that lets an app verify who the user is through an identity provider; the protocol behind most “Sign in with…” buttons.
Certificate authority
An organization or service that signs digital certificates, vouching that a public key belongs to a named server, person or workload.
SPIFFE
Secure Production Identity Framework For Everyone: a set of standards, hosted as a graduated project of the Cloud Native Computing Foundation (CNCF), that issues short-lived cryptographic identities to workloads in place of shared secrets.
TTL
Time to live: how long a credential, token or cached record stays valid before it must be renewed or thrown away.
JWT-SVID
SPIFFE Verifiable Identity Document (SVID) issued as a signed JSON Web Token, used when a workload must prove who it is through a proxy or where mutual TLS is not available.
Secrets manager
A service that stores passwords, API keys and certificates and hands them to approved software on request, so they are not left in code or files.

Read next

Was this briefing useful?

Share this briefing

Every finding, forecast and open question on this site has a permanent ID. If we reword one, its ID stays the same, so a citation keeps pointing to the same claim.

Follow us on LinkedInRSS feed

Working on an identity problem this research touches? Talk to Boston Identity