- Google Cloud
- AWS
How Inframan gets in
Inframan impersonates a service account in your project. The only thing that lets it do so is one grant: your instance’s controller service account gets Service Account Token Creator (roles/iam.serviceAccountTokenCreator) on im-<inst8>-ca-<acct8>. Remove that grant and Inframan can no longer act in the project.APIs the script enables
IAM, Cloud Resource Manager, Compute Engine, Kubernetes Engine, Artifact Registry, Network Connectivity and Secret Manager.Created when you connect the account
Created during provisioning
Each infrastructure pauses once for a setup script that needs the cluster to exist.Created later, when you ask for it
- PostgreSQL and Redis each use a service account per tier. The App store shows you the script the first time you install one. See Add-ons.
- Your services get their own service account when you turn on workload identity for them. See Workload identity.
- Storage buckets are granted to a service by a script you run. Inframan can’t grant a bucket to anyone by itself. See Storage.
If your instance’s control plane runs in your own Google Cloud project, the script also lets the infrastructure’s network join your instance’s private network hub.
Revoking access
You can cut Inframan off from a cloud account at any time, from your cloud, without going through Inframan:- Google Cloud: remove the Service Account Token Creator grant on
im-<inst8>-ca-<acct8>, or delete that service account. - AWS: delete the role
inframan-<inst8>-ca-<acct8>.