Skip to content

SPIRE deployments of more than a few servers can create more keys in JWKS than OIDC federating system supports #4699

@keeganwitt

Description

@keeganwitt

Using the KMS KeyManager plugin, I currently see 8 keys in my testing (although this might have been caused by pods being replaced without the key_metadata_file being in a persisted volume). Also in my testing, AWS support a maximum of 100 keys in a JWKS endpoint, otherwise it is unable to retrieve the KID from the list to match against the one used in a JWT. Since I have 15 clusters with 2 server instances each, if 4 keys are created each, I'll get 120 keys created, which means I won't be able to use SPIRE for OIDC federation with AWS.

Metadata

Metadata

Assignees

Labels

priority/backlogIssue is approved and in the backlogunscopedThe issue needs more design or understanding in order for the work to progress

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions