Hi everyone, I am running Prefect 3.4.7 selfhoste...
# ask-community
k
Hi everyone, I am running Prefect 3.4.7 selfhosted with basicAuth enabled. When configuring the prefect-worker with
Copy code
extraEnvVars:
  - name: PREFECT_API_AUTH_STRING
    valueFrom:
      secretKeyRef:
        name: name-of-secrets-with-credentials
        key: auth_string
I get the worker to connect successfully to the API but when I run a Prefect job that jobs pod get a PREFECT_API_AUTH_STRING environment variable inherited from the worker with a cleartext value. Is there some way I can prevent this from happening?