Skip to content

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

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

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

Conversation

@hf

@hf hf commented May 27, 2026

Copy link
Copy Markdown
Contributor

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.

@hf

hf commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

Will reopen today for RSA.

@hf hf closed this Jun 10, 2026
@hf hf deleted the hf/add-aws-kms branch June 10, 2026 11:22
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