Skip to content

feat: add ES256 signing keys backed by AWS KMS#2543

Draft
hf wants to merge 2 commits into
masterfrom
hf/add-aws-kms
Draft

feat: add ES256 signing keys backed by AWS KMS#2543
hf wants to merge 2 commits into
masterfrom
hf/add-aws-kms

Conversation

@hf
Copy link
Copy Markdown
Contributor

@hf hf commented May 27, 2026

Adds initial support for JWT signing keys backed by AWS KMS. Only ES256 support is added, as these are $0.15 per 10k requests of the Sign API while RSA is extremely expensive.

You can specify it in the GOTRUE_JWT_KEYS JSON, like so:

{
  "kty": "EC",
  "aws:kms:arn": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
  "use": "sig",
  // ...
}

It will use the default AWS credentials assigned to the process / machine.

@blacksmith-sh

This comment has been minimized.

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.

1 participant