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.
~/azureaxsmod # cat credentials [default] StorageAccountName = $tdwallet(tptazure_myaccount) StorageAccountKey =$tdwallet(tptazure_mykey)The key name must be prefixed by the "tptazure_" string.