> For the complete documentation index, see [llms.txt](https://django-cloud.gitbook.io/django-cloud-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://django-cloud.gitbook.io/django-cloud-docs/reference/security.md).

# Security

## Your AWS access key

* It belongs to a dedicated IAM user that you create, limited by the policy in [Connect your AWS account](/django-cloud-docs/getting-started/connect-aws.md).
* The secret is encrypted at rest, never shown again after you save it, and used only to create and update your deployments.
* Revoke it in IAM, or disconnect your account in the dashboard, at any time.

## Your environment variables

Values are encrypted at rest and can't be read back from the dashboard. They are decrypted only when a release is handed to AWS.

## Your code

* Your `.env` files, `.git`, virtualenvs and key files are **never uploaded** by the CLI.
* With GitHub, the app has read-only access to the repositories you choose, and each build uses a short-lived token scoped to one repository.

## Sign-in

* The CLI logs in with a short code you approve in the browser, so no password is typed into a terminal.
* Tokens are stored in a file readable only by you, and you can revoke any of them in the dashboard.

## Your app

* Traffic to your app is served over HTTPS.
* Your app runs in your own AWS account, so your AWS security tools and logging apply.

## Reporting a problem

If you think you've found a security issue, tell us privately in the [Slack community](/django-cloud-docs/community-and-support/support.md) by sending a direct message to the team, rather than posting it in a public channel.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://django-cloud.gitbook.io/django-cloud-docs/reference/security.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
