https://prefect.io logo
#prefect-community
Title
# prefect-community
s

Stephen Herron

01/10/2023, 9:47 AM
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

alex

01/10/2023, 2:39 PM
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

Stephen Herron

01/10/2023, 3:31 PM
cheers @alex
3 Views