> For the complete documentation index, see [llms.txt](https://docs.zebec.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zebec.io/zebec-application-suite/enterprise-payroll/treasury-operations/export-private-key.md).

# Export private key

Export the treasury wallet's private key for use outside Zebec. Extremely sensitive.

This operation exports the **private key** behind the treasury wallet. It is useful when your organization needs to access the treasury funds from another wallet, outside the Zebec Enterprise Payroll platform.

{% hint style="danger" %}
**Proceed with extreme caution.** Anyone who obtains this key **permanently controls the wallet and all its funds**. If the key is compromised, the funds will be lost. Zebec cannot revoke or recover an exported key.
{% endhint %}

![Export private key dialog](https://3427593773-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYaTRWumFGJjYtG8IAVar%2Fuploads%2Fgit-blob-92bda513ec95fba42a17c92f92b9957333519d11%2Fexport-key.png?alt=media)

## How to export

1. Click **Export private key** on the treasury wallet.
2. Read the warning carefully.
3. Tick the acknowledgment: *"I understand that exporting this key transfers full custody of the wallet."*
4. Click **Confirm with passkey** to reveal the key.

## Handling the key safely

* **Never** paste the key into a website, chat, analytics form, or support ticket.
* Store it offline in a secure location (for example, a hardware wallet or an enterprise secrets manager).
* Treat everyone who has seen the key as a full custodian of the treasury. If exposure is suspected, move the funds to a new wallet immediately.

See [Security and compliance](/zebec-application-suite/enterprise-payroll/security-and-compliance.md) for Zebec's custody model.
