Team,
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?
Copy code
FLYTE_SNOWFLAKE_CLIENT_TOKEN: <JWT_TOKEN>
s
Samhita Alla
10/28/2022, 10:33 AM
cc: @Kevin Su
y
Yee
10/28/2022, 2:37 PM
can you make an issue for this @Sathish kumar Venkatesan
Yee
10/28/2022, 2:40 PM
the plugin only takes one token right now.
Yee
10/28/2022, 2:40 PM
the way around this is probably to take a refresh token as well.
Yee
10/28/2022, 2:42 PM
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?
s
Sathish kumar Venkatesan
11/01/2022, 5:18 AM
@karthikraj
Sathish kumar Venkatesan
11/02/2022, 11:28 AM
@Yee@Kevin Su thanks yee. do you have any sample code for executing snowflake query using backend plugin?