3 Replies
I want to use it with JWTs
You could export the key to/as Base64:
Then, e.g., store the base64 string in an environment variable. Converting the string to a key is simple:
Should work on deploy as well.
I usually write the key to a .env
It can then be accessed as an environment variable