would there be any way to get the value from Secre...
# prefect-community
s
would there be any way to get the value from SecretStr in
SnowflakeCredentials
from a
SnowflakeConnector
?
1
use case: I have the creds stored once but now I want to use same creds to hoookup sqlalchemy so I’m trying to form a connection string. I don’t want to store details twice (SnowflakeCredentials and something else)
a
Hey @Stephen Herron! If you wanted to get the
SecretStr
password value from an instance of
SnowflakeConnector
then you could use
snowflake_connector.credentials.password.get_secret_value()
s
cheers @alex