How to get a key
Keys are issued by MEGA and delivered to you securely — there is no self-serve key portal. To request one, contact your MEGA account manager (or email [email protected]). Each key is:- Customer-locked — it only works for the one customer it was issued for. Using it with a different
x-customer-idreturns403. - Scoped — it carries only the permissions you were granted (see below).
- Shown once — store it in a secret manager. If it leaks, ask us to rotate it.
Scopes
Endpoints require specific scopes. Your key only carries the scopes you were granted; calling an endpoint your key isn’t scoped for returns403.
Server-to-server only
Errors
All errors use the standard error envelope.