Configure Snowflake for Key-pair Authentication

Note: Key-pair authentication is not available in Tableau Server until version 2025.1.

To publish workbooks using Snowflake data sources protected with Key-pair authentication from Tableau Desktop to a Tableau Cloud site, you must also configure Tableau Cloud to support those credentials. This involves adding your new or updated authentication details for Snowflake Key-pair authentication to the Saved Credentials section of your Account Settings.

Note: You need to use OpenSSL version 3.x or newer to create the keys for this authentication.

Note: Each instance of Tableau Desktop that uses Snowflake data protected by Key-pair authentication will require the user to provide the key file as part of connecting to data. For more information, see Snowflake.

Note: Publishing workbooks with Snowflake key-pair authentication is not supported in web authoring. You must use Tableau Desktop to create the workbooks, which can then be published to Tableau Cloud.

Add Key-pair Authentication Details

  1. Sign in to Tableau Cloud and navigate to your My Account Settings page.
  2. Locate Saved Credentials for Data Sources in the Security section.
  3. Next to Snowflake, click Add.
  4. In the Add a New Saved Credential window, select Key-pair Authentication, and then click Add.
  5. In the Add Key-pair Authentication Credential window, enter your Snowflake server, the optional Role, and the Username associated with these credentials.
  6. For Private Key File, click Choose a file and select the .p8 file that contains your private key.
  7. (Optional) If the key has a password or passphrase associated with it, enter it in the Password field, and then click Add.

You are now ready to share workbooks protected by Key-pair authentication from Tableau Desktop to Tableau Cloud.

See also

  • Snowflake - Learn how to set up a connection to Snowflake to retrieve and analyze data.

Thanks for your feedback!Your feedback has been successfully submitted. Thank you!