Is there any way to make Dagit redact the `passwor...
# ask-community
d
Is there any way to make Dagit redact the
password
sections of the config on the
/instance/config
page?
o
hi @David! The configuration page will always show the contents of
dagster.yaml
file basically in-line. One way to avoid having those values directly in this file this would be by setting those passwords from environment variables instead. That would look like replacing (for example):
Copy code
run_storage:
  module: dagster_postgres.run_storage
  class: PostgresRunStorage
  config:
    postgres_db:
      password: MyP4ssW0rd
with
Copy code
run_storage:
  module: dagster_postgres.run_storage
  class: PostgresRunStorage
  config:
    postgres_db:
      password:
        env: MY_PASSWORD
then setting the MY_PASSWORD environment variable.
d
Thanks, and sorry for the late reply!