Gabe Villasana

09/01/2023, 7:27 PM
Hi team, I'm using Doppler for secrets management and want to configure a prefect deployment on Prefect cloud so that I can run flows that are triggered via code. Is there a way I can properly setup the prefect deployment with doppler so that secrets are injected at deployment time?

Sean Williams

09/01/2023, 10:12 PM
I don't think there's a direct integration, but from the Doppler docs, it looks like you might be able to grab a secret via their API, and use it in your flow code.
Copy code
import requests

url = "<>"

headers = {"accept": "application/json"}

response = requests.get(url, headers=headers)


Ethan Veres

09/05/2023, 3:44 PM
@Gabe Villasana I use Doppler too and I had to create a Docker image for the deployment and use that (along with passing the doppler token)
🙌 1