Skip to main content

Prerequisites for integrating with Amazon Redshift

Certain credentials and permission are required for Validio to validate your data. For detailed information about permissions in Redshift, refer to Managing database security.
Credential Permission RequirementsValidio Credentials require VIEWER access rights when connecting to sources to read and access data. Admins must ensure that they do not provide EDITOR access rights to their credentials.
You can use this SQL script to set up a user and grant the necessary permissions for the Source in Validio:
  1. Copy this script to a SQL worksheet.
  2. Follow the steps described in the script.
SQL

Add a Redshift credential

To add a credential for Redshift,
  1. Navigate to Credentials, and click + New credential.
  2. Under Namespace, select a namespace to define where resources will be created and who can access it.
  3. Under Credential Type, select AWS Redshift Credential.
  4. Fill in the Configuration parameters for the credential. Refer to the Redshift Credential Parameters table.
  5. (Optional) Click Test credential to validate that Validio can successfully access the Redshift account. If validation fails, check that you provided the correct parameter values.
  6. (Optional) Check Use for catalog and schema checks to automatically discover assets from this credential and add them to the Catalog page.
  7. Click Create credential.
Validio will automatically start fetching data and you will be able to view Redshift assets and their relationships in the Catalog (if selected) and Lineage pages. Once the credential is created, you can add a source to monitor Redshift data.

Redshift credential parameters

SSL modes

The SSL mode sets whether Validio encrypts the connection to the Redshift server, and how strictly it verifies the server certificate. The modes are listed from least to most strict. Credentials created before SSL mode was available connect as Prefer. Changing the mode to Disable, Allow, or Prefer removes any stored TLS CA certificate.

Add an Amazon Redshift source

To add a source for Redshift,
  1. Navigate to Sources and click + New source.
  2. Under Source type, select Redshift.
  3. Under Config,
    1. Select the valid Credential or create a new credential to authenticate your connection to the data warehouse.
    2. You have two options for specifying the dataset and tables to monitor:
      1. Select an existing table — Enter the Database, Schema, and Table to specify where the data comes from. Selecting more than one table will create a new source for each table. Refer to the Source Configuration Parameters table.
      2. Use Custom SQL — Write a valid SQL query to specify the tables to monitor.
    3. Set the Polling schedule, which is how frequently the validators on the source will check for changes.
  4. Under Schema, click Continue to automatically infer the schema fields from the tables you selected. If you select many tables, this operation can take a few minutes to complete.
  5. Under Source details,
    1. Add Tags to help group related sources or to use for routing notifications.
    2. Add an Owner who will be the contact for incident notifications.
    3. Assign a Priority, which indicates the importance of incidents detected on this source.
  6. Click Continue to create the source. Source names are generated automatically and will be displayed when the source creation completes. If there are more than 5 sources, you will see the names for the first five and a count of the remaining sources.

Source configuration parameters

Remove credentials and permissions

You can use the following SQL script to remove configured permissions for the Source in Validio:
  1. Copy this script to a SQL worksheet.
  2. Follow the steps described in the script.
SQL