> For the complete documentation index, see [llms.txt](https://enterprise-docs.datacamp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enterprise-docs.datacamp.com/data-connector-1.0-documentation/data-connector-1.0-getting-started/data-connector-1.0-storing-your-credentials.md).

# \[Data Connector 1.0] Storing your Credentials

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 1.0 you'll need to store the following environment variables. Check the [Your Credentials](/data-connector-1.0-documentation/data-connector-1.0-getting-started/data-connector-1.0-your-credentials.md) article to find these credentials.

```
AWS_BUCKET=data-connector-123456-production 
AWS_ACCESS_KEY_ID=XGTWTIPVHZXSOZFGDOAL 
AWS_SECRET_ACCESS_KEY="UbCtK9sUDmWXB5/cRDwwckoB6PYGhE/vIdkhg3oV"
AWS_DEFAULT_REGION=us-east-1
```

{% hint style="info" %}
Here are guides to set environment variables on different platforms.

* [Windows](https://www.computerhope.com/issues/ch000549.htm)
* [MacOS or Linux](https://www.doppler.com/blog/how-to-set-environment-variables-in-linux-and-mac)
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://enterprise-docs.datacamp.com/data-connector-1.0-documentation/data-connector-1.0-getting-started/data-connector-1.0-storing-your-credentials.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
