Codemagic's REST API guide documents the x-auth-token header and role-linked authority. A Codemagic CI integration should select the current schema and intended team access explicitly.
Test a harmless read before a build-triggering operation. Keep credential rotation separate from changes to build configuration.