<#3805 [BUG] Support client secret env var using f...
# flyte-github
a
#3805 [BUG] Support client secret env var using flytectl config in flytekit Issue created by pmahindrakar-oss Describe the bug Currently we have to explicity set FLYTE_CREDENTIALS_CLIENT_SECRET inorder for flytekit remote to use the client secret and doesn't use the env variable defined in the flytectl config.yaml eg :
Copy code
root:
  project: flytesnacks
  domain: development
admin:
  # For GRPC endpoints you might want to use dns:///flyte.myexample.com
  endpoint: dns:///flyte-endpoint
  authType: ClientSecret
  clientId: sample-client-id
  clientSecretEnvVar: sample_client_secret
  insecure: false
logger:
  show-source: true
  level: 0
Expected behavior flyte remote should be able to read flytectl environment variable for client secret Additional context to reproduce No response Screenshots No response Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte