https://flyte.org logo
#ask-the-community
Title
# ask-the-community
s

Sathish kumar Venkatesan

10/28/2022, 7:50 AM
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
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?
s

Sathish kumar Venkatesan

11/01/2022, 5:18 AM
@karthikraj
@Yee @Kevin Su thanks yee. do you have any sample code for executing snowflake query using backend plugin?
2 Views