Hi,
I am currently working on a use case that requires the generation of JWT tokens based on PKCS#8 standards. I've chosen JWT plugin for this task. However, it seems that this plugin is compatible only with private keys that are based on PKCS#1 (RSA) standards.
Is there any known workaround to fulfill this requirement ?
Thanks,
Discussion posts and replies are publicly visible
vineeta3061 I have a requirement to generate JWT token using the plug in and i am getting error "appianprivatekeypassword or appianprivatekey for Credential Store was null". Can you please let me know how you configured the key value in adminconsole to generate token?. Thanks for help
Can you provide a screenshot of the function you are calling and the corresponding Third-party credential store? It should look something like this. app.screencast.com/eKW98q8GvemuT
Thanks Shawn Bittinger , we were missing some parameter and after we inputted the key, we are able to generate the token successfully. After creation of token, we pass that to Snowflake as Key/pair JWT Auth and it says invalid JWT Token which means it doesnt accept. Can you please let us know if any solution.
I am currently using this plug-in to generate a JWT for key-pair auth in Snowflake without any issues.
1) Can you ensure that you are setting up the JWT claims per Snowflake's documentation?
2) Have you verified that the claims look as you expect when you paste the JWT into https://jwt.io/
The second point is important... first of all... ensure that the token is correct.
Shawn Bittinger Thanks for sharing to verify the JWT token and that helps to get valid token.
OK thanks, David J (NTT DATA)
Shawn Bittinger We have to get more that 1000 records from the select statement, but we get the only 300+ from the snowflake api response., and we need to handle. Can you pls let me know if pagination configuration in snowflake is documented., or pls share and let me know on how this pagination configuration can be achieved in snowflake
Please read more about their way of handling partitions here: docs.snowflake.com/.../handling-responses