> 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/human-access/how-to-guides/auto-provisioning/how-it-works/security-and-data-protection.md).

# Security & Data Protection

Cakewalk protects your credentials using client-side encryption, isolated execution environments and in-memory decryption: ensuring they’re never exposed at rest or in transit.

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

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

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