Edit a Snowflake connection

You can edit a Snowflake connection to add tables and columns, as well as manually invalidate refresh tokens from Snowflake for users who have refresh tokens that expired.

Editing a Snowflake connection

To edit a Snowflake connection:

  1. Click Data in the top navigation bar.

  2. Click the Connections tab in the left navigation bar.

  3. Find the name of the connection.

    • Sort each column: Connection name, Connection type, _Modified (date), or Author.

    • Search on these categories.

  4. Click the name of the connection.

  5. Click Edit connection at the upper-right side of the page.

  6. The Select tables page appears.

    • To change the connection name and description, click the Change connection name at the top of the screen.

    • To change the properties of the connection, such as authentication parameters, click the Update connection details option.

    • Click Continue to navigate through the editing workflow.

    Update connection
  7. After making all the necessary changes, click Update.

  8. Click Update to save the updated connection details.

Invalidating refresh tokens of a Snowflake connection configured with Snowflake OAuth

If a Snowflake user’s refresh token has been invalidated, the user will not be able to access insights from a Snowflake connection, or the connection itself. This can happen for the following reasons:

  • Their default role in Snowflake was changed.

  • Their token was obtained for a specific role in the connection and was later revoked.

In this case, it is necessary for the administrator or the author of the connection to use the Invalidate Tokens command, which will then allow the user to re-authenticate to regain access to the connection.

This can be done in two ways:

  • If the connection is edited, a message appears at the top of the connection screen indicating that the connection has been modified, and that users may have to re-authenticate. An Invalidate Tokens link appears next to the message. Selecting that link will allow the user to invalidate tokens.

  • The administrator or author of the connection, can use the Invalidate Tokens command in the Snowflake connection.

To invalidate refresh tokens of a Snowflake connection:

  1. Select Data in the top navigation bar.

  2. Select the Connections tab in the left navigation bar.

  3. Select the name of the Snowflake connection you want to edit.

  4. Select the more menu more menu icon, and select Invalidate Tokens

After running the Invalidate Tokens command, logged-in users of the connection will have to re-authenticate to regain access to the connection.

Invalidating tokens for a connection, invalidates the refresh tokens for all users of a connection, except the author.