https://dagster.io/ logo
#dagster-support
Title
# dagster-support
b

Bianca Rosa

04/07/2022, 12:54 AM
Yo folks! Doing some research here on how to deploy dagster at work and we already have a AWS Secret with a MySQL Config. I was wondering if there is a way to pass a secrets to
dagster_mysql
just like its written on the docs for
EcsRunLauncher
- https://docs.dagster.io/deployment/guides/aws#secrets-management-in-ecs
j

johann

04/07/2022, 2:17 PM
dagster-mysql
can take it’s config from environment variables, so you need to figure out how to get aws secrets into your env. https://github.com/dagster-io/dagster/blob/7eff7a85a43691ad909275d936efb4d32d584b7[…]2/python_modules/libraries/dagster-mysql/dagster_mysql/utils.py
1
How to do that will just depend on how you have Dagster deployed
👍 1
b

Bianca Rosa

04/07/2022, 2:19 PM
thank you for pointing me to the code! i skimmed through but couldnt find it. sounds good, I wanted to avoid the env solution but I will move forward with it
j

johann

04/07/2022, 2:19 PM
Yeah we’d love to move away from it some day…
b

Bianca Rosa

04/07/2022, 2:19 PM
Yeah, didnt feel good to pass db password on an env
j

johann

04/07/2022, 2:19 PM
Even in that ECS case, it’s just specifying secrets to load into the env
2 Views