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. You can use this SQL script to set up a user and grant the necessary permissions for the Source in Validio:- Copy this script to a SQL worksheet.
- Follow the steps described in the script.
SQL
Add a Redshift credential
To add a credential for Redshift,- Navigate to Credentials, and click + New credential.
- Under Namespace, select a namespace to define where resources will be created and who can access it.
- Under Credential Type, select AWS Redshift Credential.
- Fill in the Configuration parameters for the credential. Refer to the Redshift Credential Parameters table.
- (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.
- (Optional) Check Use for catalog and schema checks to automatically discover assets from this credential and add them to the Catalog page.
- Click Create credential.
Redshift credential parameters
Add an Amazon Redshift source
To add a source for Redshift,- Navigate to Sources and click + New source.
- Under Source type, select Redshift.
- Under Config,
- Select the valid Credential or create a new credential to authenticate your connection to the data warehouse.
- You have two options for specifying the dataset and tables to monitor:
- 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.
- Use Custom SQL — Write a valid SQL query to specify the tables to monitor.
- Set the Polling schedule, which is how frequently the validators on the source will check for changes.
- 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.
- Under Source details,
- Add Tags to help group related sources or to use for routing notifications.
- Add an Owner who will be the contact for incident notifications.
- Assign a Priority, which indicates the importance of incidents detected on this source.
- 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:- Copy this script to a SQL worksheet.
- Follow the steps described in the script.
SQL