Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(formsg-sdk): well-known jwks #8002

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

feat(formsg-sdk): well-known jwks #8002

wants to merge 3 commits into from

Conversation

KenLSM
Copy link
Contributor

@KenLSM KenLSM commented Dec 16, 2024

Problem

We want to host jwks that will be used by formsg-sdk to verify the encrypted content. This is to part of the FormSG SDK key rotation initiatives. The actual heavy lifting of fetching and parsing of keys is under the formsg-sdk repo.

Closes FRM-1922

Solution

JWKS content is hosted on SSM so that we have proper versioning and quick deployment without rebuilding our codebase. We can now update SSM and redeploy for the change to take effect.

Notes: Removed .well-known from static host (which retrieves the static files from s3). There's nothing hosted there. To better control data expiry / cache, it is better to host it through BE.

Breaking Changes

  • No - this PR is backwards compatible

Tests

Deploy Notes

  • Update jwks on AWS System Manager
    • Prod
    • Staging
    • UAT
  • Update elastic beanstalk policy to include /{ENV_TYPE/* on appropriate platform
    • Prod
    • Staging
    • UAT

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