snowflake_credentials | R Documentation |
Get credentials for a Snowflake connection
snowflake_credentials(params, role = NULL, spcs_endpoint = NULL, ...)
params |
a list of connection parameters from ' |
role |
a snowflake entity |
spcs_endpoint |
a Snowpark Container Services ingress URL, formatted (*-accountname.snowflakecomputing.app) |
... |
Additional Snowflake connection parameters |
A list of HTTP headers.
# Obtain authentication headers for accessing Snowflake APIs
snowflake_credentials(
snowflake_connection()
)
# If the application is in Snowpark Container Services,
# a different collection of headers are returned:
snowflake_credentials(
snowflake_connection(),
spcs_endpoint = "https://example-accountname.snowflakecomputing.app"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.