Products | Versions |
---|---|
Spotfire Server | 14.0 |
Spotfire Analytics Server | 14.0 |
Key pair authentication offers a more secure alternative to traditional username and password logins. Instead of relying on static credentials that can be stolen or exposed, this method leverages asymmetric encryption to validate user identity.
In this setup:
The private key is generated and securely stored by the user.
The corresponding public key is uploaded to the user's profile in Snowflake.
During authentication, Snowflake uses the public key to validate that the connecting client possesses the correct private key, without ever transmitting the private key itself.
For Linux: Run the following commands directly in the terminal.
For Windows: Install OpenSSL and execute the commands below in the Command Prompt.
Generate Private Key:
Generate Public Key (corresponding to the private key):
Log in to Snowflake.
Run the following command to associate the public key with your Snowflake user:
Copy the generated private key file to the following directory on the Spotfire server:
Download the latest Snowflake JDBC driver.
Place the JDBC driver in the following directory:
Open the Spotfire Configuration Tool.
Add a new data source template for Snowflake. Below is a sample template (modify as per your specific requirements):
Starting from Spotfire 12, Information Services run as a separate Java process. Additional Java parameters are required to enable private key authentication.
Export the Spotfire server configuration:
Add the following JVM parameter to the Information Services Java process:
Import the configuration:
Restart the Spotfire server.
Open Spotfire Analyst.
Navigate to Information Designer and establish the Snowflake connection using the configured connection URL.
Refer to the example connection URL provided in Step 5.
Important Considerations:
This article provides a step-by-step guide to configuring Snowflake key pair authentication within Spotfire.