Skip to content

Chore: [AEA-0000] - new script to create jwks and new prod jwks#1946

Merged
anthony-nhs merged 2 commits intomainfrom
fix_set_secret
Mar 24, 2026
Merged

Chore: [AEA-0000] - new script to create jwks and new prod jwks#1946
anthony-nhs merged 2 commits intomainfrom
fix_set_secret

Conversation

@anthony-nhs
Copy link
Copy Markdown
Contributor

Summary

  • Routine Change

Details

  • new script to create jwks
  • new prod jwks file

Copilot AI review requested due to automatic review settings March 23, 2026 14:32
@github-actions
Copy link
Copy Markdown
Contributor

This PR is linked to a ticket in an NHS Digital JIRA Project. Here's a handy link to the ticket:

AEA-0000

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds tooling and configuration updates related to JWKS key management, and simplifies GitHub secret setup by removing an unused CDK image-pull role secret.

Changes:

  • Remove CDK_PULL_IMAGE_ROLE export lookup + secret-setting from scripts/set_secrets.sh.
  • Add scripts/create_new_jwks.sh to generate an RSA keypair and append a new JWK into an environment-specific jwks.json.
  • Append a new RSA JWK entry to the production JWKS file.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
scripts/set_secrets.sh Removes CDK_PULL_IMAGE_ROLE handling from secret-setting automation.
scripts/create_new_jwks.sh New script to generate RSA keys and update the JWKS JSON via jq.
packages/staticContent/jwks/prod/jwks.json Adds a new production JWK entry (new kid/modulus).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sonarqubecloud
Copy link
Copy Markdown

@anthony-nhs anthony-nhs merged commit 46d3999 into main Mar 24, 2026
20 checks passed
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.

3 participants