Key types
Rules
Game key goes in the client. Never put admin credentials or the developer API key inside game code — they have wider permissions. In Unity the game key lives in thePlatformConfig asset, created via susaplay → Create Config
Asset. SusaPlaySDK.Initialize() reads it from there.
PlatformConfig asset per environment and
swap it at build time, so a test build can never talk to production:
Generate or rotate a key
- Developer Portal → your game → Settings → API Keys
- Click Generate New Key
- Copy immediately — shown once
If a key is exposed
- Generate a new key immediately
- Update secrets in all environments (CI/CD, staging, production)
- Invalidate the old key from the API Keys page
