Hi, I'm using self hosted prefect and I want to configure my own PostgresDB.
What's the best way to pass in the connection string? I don't want to store the password in a plaintext environment variable. I'd prefer to resolve it at runtime from AWS Secrets Manager, if possible.
Can anyone advice? Thanks.
antonk
03/10/2025, 5:59 PM
@Marvin
e
Eduardo Brito
03/10/2025, 6:36 PM
how are you deploying the server?
a
antonk
03/10/2025, 6:39 PM
I use AWS CDK to deploy the prefect server to ECS. I have an RDS Postgres instance deployed using the same CDK configuration.
e
Eduardo Brito
03/10/2025, 7:04 PM
we used environment files from S3 -> that's very far from perfect, but got it done
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.