Overview
Note
These instructions are for IT workers with experience and access to install software needed to generate RSA keys. Consult your IT team for help with generating the RSA keys and before installing any software on your computer.
Tip
The best practice for setting up authentication with third-party reporting tools is to use a service account with RSA key-pair authentication. Power BI is known not to support multi-factor authentication, making a service account with RSA key-pair authentication a requirement.
Snowflake supports multiple authentication methods:
Person accounts: username, password, and MFA
Service accounts: RSA key-pair authentication (recommended for BI tools)
RSA authentication enhances security by removing the need for stored passwords and using cryptographic keys instead.
Generate your RSA key pair
Install OpenSSL or request IT support for installation.
Run the following commands:
File descriptions:
During Snowflake connection setup in Hyperproof, upload the "rsa_key.pub" file.
βHyperproof will automatically register the key with your Snowflake account.
Securely store your private key file and do not share or email it.
Test your RSA key with SnowSQL (optional)
Use the SnowSQL CLI to verify your configuration:
snowsql -a hyperproof-analytics -u "<your Snowflake username>" --private-key-path "C:\path\rsa_key.p8"
If this connection is established without prompting for a password, the key is correctly configured.
Connect your BI/reporting tool to Snowflake (Optional)
Use the 64-bit EXE version of Power BI Desktop (the Microsoft Store version does not support KeyPair) or any other tool.
Navigate to "Get Data" and select "Snowflake."
Input the following:
Server:
US : hyperproof-analytics.snowflakecomputing.com
EU : hyperproof-analytics_eu.snowflakecomputing.com
Warehouse: Your assigned warehouse
Authentication Method: KeyPair
Username: Your Snowflake service account username
Private Key: Paste the full content of the "rsa_key.p8" file
Click "Connect" to establish a secure RSA connection.
Troubleshooting
"KeyPair" option missing: Ensure you are using the EXE version of Power BI Desktop.
"Invalid key" or "authentication failed": Re-upload the public key file in Hyperproof.
"Got unexpected extra arguments": Wrap usernames/path containing spaces in quotes.
"Snowsight login fails": KeyPair authentication is not supported in the browser; use SSO or a password instead.
Best practices
Keep your private key secure and backed up.
Rotate RSA keys every six months or according to your policy.
Use dedicated service accounts for BI tool access.
Coordinate with IT before replacing or regenerating RSA keys.
If you installed OpenSSL, uninstall it after you have generated your keys and configured your Snowflake login.
Related resources
Connecting to your Snowflake data warehouse in Hyperproof (https://docs.hyperproof.io/admin/en/reporting/reporting-connecting-snowflake-dw)
Snowflake documentation β Key pair authentication (https://docs.snowflake.com/en/user-guide/key-pair-auth)
REF: 000001657




