Storing your Credentials
Storing your Amazon S3 credentials to access data in the Data Connector.
Your credentials should all be treated as sensitive information as they allow access to your learning data, which includes personally identifiable information. That means that for security reasons, rather than including the credentials in your application code, it is better to store them in a secure way (such as environment variables). This reduces the risk of the credentials accidentally being viewed by someone else or checked into an online code repository.
In order for our utility packages dcdcpy and dcdcr to connect to the Data Connector you'll need to store the following environment variables. Check the Your Credentials article where to find these credentials.
1
AWS_BUCKET=data-connector-123456-production
2
AWS_ACCESS_KEY_ID=XGTWTIPVHZXSOZFGDOAL
3
AWS_SECRET_ACCESS_KEY="UbCtK9sUDmWXB5/cRDwwckoB6PYGhE/vIdkhg3oV"
4
AWS_DEFAULT_REGION=us-east-1
Copied!
Here are guides to set environment variables on different platforms.
Copy link