Manage Snowflake Data Sources
ALTR must be connected to a Snowflake data source to enforce data access controls and advanced data protection on it. Connecting a data source requires a service user already created in Snowflake and registered with ALTR.
Key-pair authentication is the recommended authentication type for the service user — see Service User Authentication for details.
Register a Service User
Section titled “Register a Service User”Before connecting a Snowflake data source, create the service user in Snowflake (see Create a Service User), then register it with ALTR.
To register a service user:
- Select Data Configuration > Service Users in the navigation menu.
- Click Register Service User.
- Enter a Display Name (can be anything), the Hostname for your Snowflake account, and the Login Name for the service user. The login name is typically the same as the Snowflake object name, though Snowflake supports a different login name if you want to use one — this is the name ALTR authenticates with. See Snowflake’s
CREATE USERdocumentation. - Click Register.
- Set authentication. For key-pair authentication, ALTR generates a key and provides the SQL you run in Snowflake to save the public key to the service user.
- Click Finish.
Connect a Snowflake Data Source
Section titled “Connect a Snowflake Data Source”To connect a Snowflake data source:
- Select Data Configuration > Data Sources in the navigation menu.
- Click Add Data Source.
- For the Snowflake connection type, click Select.
- Enter a Display Name to identify the data source.
- Select the Service User you registered above.
- Enter your Database Name exactly as it appears in Snowflake.
- (Optional) Click Advanced Settings to set a Warehouse or Role other than the service user’s default. Contact ALTR Support before changing these.
- Click Next.
- Click Connect Data Source.
Next, connect tags or columns to bring the data you want to protect under ALTR — see Manage Tags or Manage Columns. Then create Access Management or Row Access policies to protect the connected tags or columns.
Check a Data Source Connection
Section titled “Check a Data Source Connection”Check a data source’s connection if you suspect an issue, such as an error or a change to the data source.
To check a data source connection:
- Select Data Configuration > Data Sources in the navigation menu.
- Click the data source to test.
- Click the Connection Details tab.
- Click Check Connection.
Remove a Snowflake Data Source
Section titled “Remove a Snowflake Data Source”Removing a data source disconnects it from ALTR.
To remove a data source:
- Select Data Configuration > Data Sources in the navigation menu.
- Select the data source to remove.
- Click Remove Data Source. Removal can take several minutes to complete.
Force Remove a Data Source
Section titled “Force Remove a Data Source”Force removing a data source clears the data source’s record from ALTR only — it does not remove anything from Snowflake itself. Artifacts such as masking policies and schema objects can remain in Snowflake after a force remove.
Use force remove if a standard remove doesn’t complete as expected. Force remove ignores any errors encountered during removal.
To force remove a data source:
- Select the data source to remove.
- Click Remove Data Source.
- Click Trouble Removing?; a confirmation modal displays.
- Click Force Remove Data Source; a confirmation modal displays.
- Click Yes, Force Remove Data Source.
- Review your Snowflake account and clear any remaining objects.