16.10 - The Credentials File - Access Module

Teradata Tools and Utilities Access Module Reference

prodname
Access Module
vrm_release
16.10
created_date
July 2017
category
Programming Reference
featnum
B035-2425-077K

The credentials file contains user credentials such as "StorageAccountName" and "StorageAccountKey".

The following is an example of the contents of the credentials file.

credentials: (sample contents of ~/azureaxsmod/credentials)
[default]
StorageAccountName = Testblobstorage 
StorageAccountKey  = dV6P********************************************************zA==

[export_job_7]
StorageAccountName = Testblobstorage1 
StorageAccountKey  = oT9Z********************************************************PM==

[load_job_5]
StorageAccountName = Testblobstorage2
StorageAccountKey  = sQ3R********************************************************UB==

These files have sections called Jobprofiles, identified with an arbitrary name in square brackets which describes the load or export job. You select a particular Jobprofile from the credential file by using the -Jobprofile initialization string parameter.

You need to create an azureaxsmod directory under your home directory in which to keep the credentials file. This is the default location for the credentials file. But you also store the credentials file in any directory of your choice. However, you will need to specify the directory path where the credentials file is stored through the -ConfigDir initialization string.