i followed the flyte documentation and updated the snowflake JWT_TOKEN. it is working fine, however token validity is just one day. we need to create new everyday and new token require editing the kubernetes secret. we can create jwt_token without expiry?
10/28/2022, 10:33 AM
cc: @Kevin Su
10/28/2022, 2:37 PM
can you make an issue for this @Sathish kumar Venkatesan
the plugin only takes one token right now.
the way around this is probably to take a refresh token as well.
and then the webapi plugin can refresh on expiry, but not sure where’s the best place to put this. presumably this is something the webapi plugin can support more broadly not just in snowflake. in the meantime, any chance you can bump the expiration?
Sathish kumar Venkatesan
11/01/2022, 5:18 AM
@Yee@Kevin Su thanks yee. do you have any sample code for executing snowflake query using backend plugin?