Hey, this is probably a duplicate question but i w...
# flyte-on-gcp
j
Hey, this is probably a duplicate question but i was not able to find a solution from previous questions here. I have flyte-core deployed on gke with the gcp oidc/consent screen auth enabled and nginx. This works for local commands and browser authentication just fine. Now i try to write a python API that can execute workflows in the cluster. (API is not running in the cluster) How do i manage the authentication here ? I found https://pypi.org/project/flytekitplugins-identity-aware-proxy/ but that would mean switching ingress etc. I also tried
Copy code
export FLYTE_CREDENTIALS_CLIENT_ID=GCP-OAUTH-ID
export FLYTE_CREDENTIALS_CLIENT_SECRET=GCP-OAUTH-SECRET
export FLYTE_CREDENTIALS_AUTH_MODE=basic
but i couldn't get this to work Thx in advance.
d
maybe try the
ClientSecret
flow?
Copy code
authType: ClientSecret
  clientId: <client-ID>
  clientSecretLocation: /path/to/secret