The four Amazon S3 credentials can be considered sensitive information, since they allow access to your Data Connector data, which includes personally identifiable information. That means that for security, rather than including the credentials in code, it is better to store them as environment variables. This reduces the risk of the credentials accidentally being viewed by someone else, or checked into an online code repository.
Store the 4 credentials with the following environment variable names:
- AWS Region: AWS_DEFAULT_REGION
- S3 Bucket Name: AWS_S3_BUCKET_NAME
- Access Key: AWS_ACCESS_KEY_ID
- Secret Password: AWS_SECRET_ACCESS_KEY
Here are guides to setting environment variables on different platforms.
Visit the Data Connector help pages for more information on using the Data Connector.