Key Types
| Key Type | Use Case | Security | Example Usage |
|---|---|---|---|
| Publishable Key | Client-side SDK initialization | Safe to expose | Browser apps, game clients |
| Secret Key | Server-side operations | Keep private | Backend minting, admin operations |
Publishable Key
- SDK initialization
- Client-side API calls
- Passport authentication
Secret Key
- Minting NFTs
- Admin operations
- Webhook verification
- Any operation that modifies on-chain state
Key Rotation
Rotate keys in Hub: Settings → API Keys → Rotate KeyEnvironment-Specific Keys
Each environment has its own keys:| Environment | Publishable Key Prefix | Chain |
|---|---|---|
| Sandbox | pk_imapik-sandbox-... | Immutable zkEVM Testnet |
| Production | pk_imapik-... | Immutable zkEVM Mainnet |
Next Steps
Getting Started
Complete Hub setup guide
Backend Minting
Use your secret key for minting