Register a Teradata Connection
Register your Teradata data and map your user accounts into Immuta
Requirement
Teradata VantageCloud or Teradata VantageCore
Permissions
The user registering the connection must have the permissions below.
APPLICATION_ADMINImmuta permissionThe Teradata user registering the connection must have access to the user
DBADMINThe Teradata user running the setup script must have the permission
CREATE DATABASE
Create the database user
​Create a new user in Teradata to serve as the Immuta system account. Immuta will use this system account continuously to crawl the connection.
SELECTon the DBC databaseCREATE ROLEDROP ROLESELECT WITH GRANT OPTIONon all Teradata views and databases that Immuta should manage permissions toCREATE VIEW WITH GRANT OPTIONDROP VIEW WITH GRANT OPTION
Configure Teradata
If your base tables are in a different database than your views, then you must grant your view database the ability to select from your base table database.
Register a Teradata connection
In Immuta, click Data and select Connections in the navigation menu.
Click the + Add Connection button.
Select the Teradata tile.
Enter the host connection information:
Display Name: This is the name of your new connection. This name will be used in the API (
connectionKey), in data source names from the host, and on the connections page. Avoid the use of periods (.) or restricted words in your connection name.Hostname: Your Teradata host (e.g.,
your-host.env.teradata.com).Port: Port configured for Teradata.
SSL Mode: Use the dropdown to select your SSL mode.
SSL Protocol: Based on your SSL mode selection, also select the protocol.
Select the authentication method from the dropdown:
Click Next.
Opt to Enable Object Sync, which will keep your connection objects up to date with your Teradata environment.
Select the Start Time for when the first object sync job will run each day.
Select the Run Frequency to determine how frequently object sync will run each day.
Opt to Run Object Sync on Create to create all the data objects for your connection. If you do not select this option, you must run object sync manually or wait for the scheduled object sync for your connection's data objects.
Click Save connection.
Copy the provided script and run it in Teradata as a user with the privileges listed in the requirements section. Running this script grants the privileges to the Immuta system account.
Click Validate Connection.
If the connection is successful, click Finish. If there are any errors, check the connection details and credentials to ensure they are correct and try again.
Grant the immuta_views database access
After you register the connection and the immuta_views database is created, you must grant that database the ability to select from the databases that have your tables and views:
Map users
Requirement: USER_ADMIN Immuta permission
Map Teradata usernames to each Immuta user account to ensure Immuta properly enforces policies.
The instructions below illustrate how to do this for individual users, but you can also configure user mapping in your IAM connection on the app settings page.
Click People and select Users in the navigation menu.
Click the user's name to navigate to their page and scroll to the External User Mapping section.
Click Edit in the Teradata User row.
Select the User Type from the dropdown:
Teradata Username: Enter the user's Teradata username.
Unset (fallback to Immuta username): When selecting this option, the Teradata username is assumed to be the same as the Immuta username.
None (user does not exist in Teradata): Select this option if this is an Immuta-only user. This option will improve performance for Immuta users who do not have a mapping to Teradata users and will be automatically selected by Immuta if an Immuta user is not found in Teradata. To ensure your Teradata users have policies correctly applied, manually map their usernames using the first option above.
Click Save.
Last updated
Was this helpful?

