is anybody using snowflake plugin? docs at <https:...
# ask-the-community
a
is anybody using snowflake plugin? docs at https://docs.flyte.org/en/latest/deployment/plugins/webapi/snowflake.html#deployment-plugin-setup-webapi-snowflake ask to set up JWT token and put it into config but snowflake JWT token expires in 1 hr max?
Copy code
The JWT is valid for at most one hour after the token is issued, even if you specify a longer expiration time.
k
a
@Kevin Su any pointers on how this gets configured?
k
1. update your plugin settings
Copy code
tasks:
  task-plugins:
    enabled-plugins:
      - container
      - sidecar
      - k8s-array
      - agent-service
    default-for-task-types:
      - container: container
      - container_array: k8s-array
      - snowflake: agent-service

plugins:
  agent-service:
    supportedTaskTypes:
    - snowflake
2. update the agent secret
Copy code
$ kubectl edit secret flyteagent -n flyte

apiVersion: v1
data:
  snowflake_private_key: <BASE64_ENCODED_DATABRICKS_TOKEN>
kind: Secret
metadata:
  annotations:
if you didn’t install flyteagent, use helm to install it
Copy code
helm repo add flyteorg <https://flyteorg.github.io/flyte>
helm install flyteagent flyteorg/flyteagent --namespace flyte
sorry, the pr of adding snowflake doc is not merged yet.
a
thanks