The Credentials File - Access Module

Teradata® Tools and Utilities Access Module Reference

Product
Access Module
Release Number
17.10
Published
October 2021
Language
English (United States)
Last Update
2021-11-02
dita:mapPath
uur1608578381725.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2425
lifecycle
previous
Product Category
Teradata Tools and Utilities

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

The credentials file also contains "StorageAccountEndPoint".

"StorageAccountName" and "StorageAccountKey" are required parameters where as "StorageAccountEndPoint" is an optional parameter.

If "StorageAccountEndPoint" is not specified in the credentials file, ".blob.core.windows.net" will be used as the default Azure Blob storage endpoint.

The following is an example of the contents of the credentials file with a default location of ~/azureaxsmod/credentials:

[default]
StorageAccountName = Testblobstorage
StorageAccountKey = dV6P********************************************************zA==
StorageAccountEndPoint = .blob.core.windows.net
[export_job_7]
StorageAccountName = Testblobstorage1
StorageAccountKey = oT9Z********************************************************PM==
[load_job_5]
StorageAccountName = Testblobstorage2
StorageAccountKey = sQ3R********************************************************UB==
StorageAccountEndPoint = .custom.endpoint.windows.net

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 credentials 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.

On the Windows platform, the HOME environment variable has to be manually created.
You can store the StorageAccountName and StorageAccountKey values in Teradata Wallet and use the corresponding tdwallet keys in the credentials file. For example:
~/azureaxsmod # cat credentials
[default]
StorageAccountName = $tdwallet(tptazure_myaccount)
StorageAccountKey =$tdwallet(tptazure_mykey)
The key name must be prefixed by the "tptazure_" string.