Skip to content

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

Open
hf wants to merge 5 commits into
masterfrom
hf/add-aws-kms-rs256
Open

feat: add RS256 signing keys backed by AWS KMS#2571
hf wants to merge 5 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

blacksmith-sh Bot commented Jun 10, 2026

Copy link
Copy Markdown

Found 6 test failures on Blacksmith runners:

Failures

Test View Logs
github.com/supabase/auth/internal/conf/TestJwtKeys View Logs
github.com/supabase/auth/internal/conf/TestJwtKeys View Logs
github.com/supabase/auth/internal/conf/confload/TestLoaderCompat View Logs
github.com/supabase/auth/internal/conf/confload/TestLoaderEnvparse View Logs
github.com/supabase/auth/internal/e2e/Example_config View Logs
github.com/supabase/auth/internal/e2e/TestUtils View Logs

Fix in Cursor

@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
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
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