snowflake.snowpark.secrets.get_generic_secret_string

snowflake.snowpark.secrets.get_generic_secret_string(secret_name: str) str[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.40.0/src/snowflake/snowpark/secrets.py#L23-L40)

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.

Language: English