Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Automatize JWT key rotation #68

Open
silvin-lubecki opened this issue Jul 10, 2020 · 1 comment
Open

Automatize JWT key rotation #68

silvin-lubecki opened this issue Jul 10, 2020 · 1 comment
Labels
Medium TShirt Size estimation Technical task

Comments

@silvin-lubecki
Copy link
Collaborator

As a docker scan lambda maintainer,
So I can rotate jwt keys easily,
I want an automatized process which does everything for me.

Tasks

Add a manual triggered github action on the repo.
It needs to:

  • create a new ES256 key pair
  • Generate the PEM format private key
  • Generate the jwks.json with the public key
  • optional: fetch the current jwks.json file and add the new key
  • Change the private key in the lambda parameter /stage/hub_scan_snyk_jwt/private_signing_key
  • Push the jwks.json file to the s3 bucket
@silvin-lubecki silvin-lubecki added Technical task Medium TShirt Size estimation labels Jul 10, 2020
@silvin-lubecki
Copy link
Collaborator Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Medium TShirt Size estimation Technical task
Projects
None yet
Development

No branches or pull requests

1 participant