> For the complete documentation index, see [llms.txt](https://www.cakewalk.security/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.cakewalk.security/docs/how-to-guides/auto-provisioning/how-it-works/security-and-data-protection.md).

# Security & Data Protection

#### End-to-End Encryption

All credentials are encrypted the moment you submit them. This encryption is applied on the client side (in your browser), meaning credentials are never transmitted in plaintext over the network. Once received by Cakewalk, encrypted credentials are stored in **encrypted, company-specific databases**—each customer has a **dedicated and isolated database** that remains encrypted both at rest and in transit.

#### Just-in-Time Decryption

Credentials are only decrypted **at the moment they are used** to execute a provisioning task—never before, never after.

* Decryption occurs **only in memory**, within a secure, isolated runtime.
* All decryption is managed through Amazon KMS, which ensures audit logs are created for every decryption event.
* No credentials are ever written or logged in plaintext.
* As soon as a job completes, decrypted values are discarded from memory.

#### Controlled Execution Environment

Cakewalk uses separate internal components to:

* Handle encryption and credential storage
* Execute provisioning jobs using decrypted credentials

This **separation of responsibilities** ensures that no single system has full access to both encrypted credentials and the keys needed to decrypt them.

#### Time-Bound Access

When an access token or key is needed to complete a provisioning task, Cakewalk enforces strict time limits for its usage. This further limits the attack surface and prevents long-lived credentials from being misused.


---

# 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://www.cakewalk.security/docs/how-to-guides/auto-provisioning/how-it-works/security-and-data-protection.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.
