> For the complete documentation index, see [llms.txt](https://stakpak.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://stakpak.gitbook.io/docs/how-it-works/handling-secrets.md).

# Handling Secrets

### Dynamic Secret Substitution

<figure><img src="/files/AcFugaDlLUMDtyc4bniz" alt=""><figcaption></figcaption></figure>

Stakpak can read, compare, and write secret values without seeing them. Secrets are substituted at runtime and never exposed in logs or memory.

{% hint style="info" %}
To disable secret redaction, open your terminal and write `stakpak --disable-secret-redaction`
{% endhint %}

### Secure Password Generation

<figure><img src="/files/Y3Xme3SiOs2Smuttabsm" alt=""><figcaption></figcaption></figure>

Generate cryptographically secure passwords with configurable complexity

### Privacy Mode

<figure><img src="/files/35kcnvj3m964bdeKcrUO" alt=""><figcaption></figcaption></figure>

Redacts sensitive data like IP addresses and AWS account IDs

{% hint style="info" %}
To disable privacy mode, open your terminal and write `stakpak --privacy-mode`
{% endhint %}
