Google Cloud administrator setup
Administrators own cloud access. Developers never need project-wide admin.
- Create development service accounts (for example
worker-dev@PROJECT.iam.gserviceaccount.com). - Enable APIs as needed: IAM Credentials, Cloud Resource Manager, Identity-Aware Proxy. Do not expect
devctlto enable APIs — Doctor reports, never auto-enables. - Configure IAP on protected backends and record the audience for each route.
- Create a Google Group such as
dev-developers@company.com. - Bind
roles/iam.serviceAccountTokenCreatoron each development service account to that group (not project-wide unless policy requires it). - Confirm organization policies allow impersonation and ADC.
- Validate with a test developer:
devctl doctorshould report impersonation success.
devctl source code must not contain those emails; they belong in repository configuration.
Organization policies that disable service-account impersonation or constrain ADC will make Doctor report UNAVAILABLE even when IAM bindings look correct. Confirm those policies before changing developer machines.
See examples/admin-iam.yaml for a permission-distribution sketch (documentation only; not loaded at runtime).