The process of exporting wallets or private keys from Turnkey is broken up into two primary steps:

1

Export the wallet or private key via Turnkey. You must specify the wallet or private key ID, as well as a target public key, which the wallet or private key will be encrypted to. Encryption ensures that the key material is only accessible by the client, and cannot be extracted by any man-in-the-middle (MITM)

2

Decrypt the resulting bundle returned by Turnkey

See the Enclave to end-user secure channel for more technical details.

Implementation Guides

See Code Examples for more details.