snowflake.snowpark.secrets.get_generic_secret_string

snowflake.snowpark.secrets.get_generic_secret_string(secret_name: str) str[source]

Get a generic token string from Snowflake. .. note:: Require a Snowflake environment with generic secret strings configured

Returns:

The secret value as a string.

Raises:

NotImplementedError – If the _snowflake module cannot be imported.