snowflake.snowpark.secrets.get_username_password¶
- snowflake.snowpark.secrets.get_username_password(secret_name: str) UsernamePassword [source]¶
Get a username and password secret from Snowflake. .. note:: Require a Snowflake environment with username/password secrets configured
- Returns:
An object with attributes
username
andpassword
.- Return type:
- Raises:
NotImplementedError – If the _snowflake module cannot be imported.