The "config" and "credentials" Files - Access Module

Teradata Tools and Utilities Access Module Reference

Product
Access Module
Release Number
16.10
Published
July 2017
Language
English (United States)
Last Update
2019-03-27
dita:mapPath
amk1499705096540.ditamap
dita:ditavalPath
amk1499705096540.ditaval
dita:id
B035-2425
lifecycle
previous
Product Category
Teradata Tools and Utilities

The config file contains the region name where the Amazon S3 bucket is located. The config file supports comments.

The following is an example of the contents of the config file:

config: (sample contents of ~/.aws/config)
[default]
region = us-west-2
[export_job_7]
region = us-east
[load_job_5]
region = us-west-2
# I support comments

The credentials file contains the user credentials such as "Access Key Id" and "Secret Access Key".

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

credentials: (sample contents of ~/.aws/credentials)
[default]
aws_access_key_id = AKIA************T6XA
aws_secret_access_key = Mpm1********************************CNT4
[export_job_7]
aws_access_key_id = AKIA************WLCX
aws_secret_access_key = Mpm1********************************QQL7
[load_job_5]
aws_access_key_id = AKIA************WWNB
aws_secret_access_key = Mpm1********************************CNT4

These files can have sections called profiles, identified with an arbitrary name in square brackets which can correspond to the descriptions of the load or export job. Any particular profile from the config and the credentials files can be selected for use through the initialization string parameter named S3Profile.

You need to create a .aws directory under your home directory and keep the config file and the credentials file under the .aws directory. The .aws directory is the default location to keep the config file and the credentials file.

You can also store the config file and the credentials file in any directory of your choice. However, you need to specify the directory path where the config file and the credentials file are stored, through the initialization string parameter named S3ConfigDir.