Skip to content
Docs

API keys

Keep secrets server-side

Why secret keys belong on your servers and never in browsers, mobile apps, or public repositories.

Overview

The secret can move funds and read sensitive wallet data. Ship it only in backend environments you control—never in mobile binaries, browser JavaScript, or public repos.

Recommended pattern

Your app calls your API; your API calls Gray3 with the secret. Mobile apps may hold the project ID if needed, but not the secret.

Wallet SDK note

Non-custodial flows use the SDK keystore on device; that is separate from the Cloud API secret.