Hello, In one of our apps we would like to make a call to a Snowflake REST API. Therefore we need to generate a JWT token. We already know both public and private keys, so it seems to be easy to generate a JWT token. We use the JWT Module with its java action GenerateJWT. But this action needs a JWTRSAPrivateKey object, which we don't have. Does anybody know how to handle this?
asked
Maarten Firet
1 answers
0
Hi Maarten,
if you have PEM key then you can follow below steps to generate jwt here the cast activity is creating JWTRSAPrivateKey object