Skip to content

feat: add RS256 signing keys backed by AWS KMS#2571

Merged
cstockton merged 8 commits into
masterfrom
hf/add-aws-kms-rs256
Jun 17, 2026
Merged

feat: add RS256 signing keys backed by AWS KMS#2571
cstockton merged 8 commits into
masterfrom
hf/add-aws-kms-rs256

Conversation

@hf

@hf hf commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Adds support for RSA signing keys backed by AWS KMS, which are the cheapest type of key.

You specify aws:kms:arn as a claim in the private key's JWK and it all flows from there. It uses the ambient credentials of the process to talk to KMS.

@hf hf requested a review from a team as a code owner June 10, 2026 16:18
@hf hf force-pushed the hf/add-aws-kms-rs256 branch from 502f4bd to 635a206 Compare June 10, 2026 16:21
@blacksmith-sh

This comment has been minimized.

@cstockton cstockton left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a good start but do see the need for some changes here.

Comment thread internal/conf/jwk.go Outdated
Comment thread Dockerfile Outdated
Comment thread internal/conf/awskmsjwk/rs256.go
Comment thread internal/conf/jwk.go Outdated
Comment thread internal/conf/jwk.go Outdated
Comment thread internal/conf/jwk.go Outdated
Comment thread internal/tokens/service.go
@cstockton cstockton merged commit 983f59a into master Jun 17, 2026
9 checks passed
@cstockton cstockton deleted the hf/add-aws-kms-rs256 branch June 17, 2026 22:28
cstockton pushed a commit that referenced this pull request Jun 22, 2026
🤖 I have created a release *beep* *boop*
---


##
[2.191.0](v2.190.0...v2.191.0)
(2026-06-17)


### Features

* add RS256 signing keys backed by AWS KMS
([#2571](#2571))
([983f59a](983f59a))
* **saml:** support zero-downtime SP key rotation
([#2575](#2575))
([5b95ff8](5b95ff8))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: supabase-releaser[bot] <223506987+supabase-releaser[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants