https://dagster.io/ logo
#ask-community
Title
# ask-community
p

Peter Lim

07/24/2023, 3:59 PM
Hello, is there a way for resources to use pydantic’s SecretStr or SecretField for passwords? I don’t want the password to be visible in the resources page in Dagit
❤️ 1
p

Peter Lim

07/24/2023, 7:17 PM
EnvVar works well for this case, thank you!
Hi @rex how do I declare this resource on unit tests? Merely importing the resources and naming it by key doesn’t seems to invoke the password
r

rex

07/24/2023, 8:00 PM
@ben could you answer this question?
7 Views