Connecting a project requires the Administrator role on your team. See the
IAM trust model for the security design behind this flow.
What you’ll set up
In your GCP project you:- Enable the Cloud Resource Manager and IAM APIs.
- Create a connector service account (
nuphos-connector). - Grant it permission to manage your project.
- Grant the Nuphos platform service account permission to impersonate it.
Option A — Guided setup with the agent (recommended)
In Integrations → Connect → GCP, choose the guided path. Nuphos opens an agent session that runsgcloud on your machine and performs the steps below,
pausing for your approval, then prints the project ID and connector email for you
to paste in.
Option B — Manual setup with gcloud
Run these commands yourself, replacingPROJECT_ID with your project:
Let the connector manage your project
roles/iam.infrastructureAdmin lets the connector discover and manage
infrastructure (and enable additional APIs on demand). Scope it down later if
your team requires tighter permissions.Let Nuphos impersonate the connector
Grant the Nuphos platform service account the Service Account Token
Creator role on the connector — this is what allows impersonation:
zeabur-byos-connector@zeabur-system.iam.gserviceaccount.com is the Nuphos
platform identity. It is not a secret — it appears in every customer’s
policy. Use it exactly as shown.How credentials work
| Value | |
|---|---|
| Trust mechanism | Impersonation of your nuphos-connector service account |
| Impersonating principal | zeabur-byos-connector@zeabur-system.iam.gserviceaccount.com |
| Credential lifetime | ~1 hour per session, minted on demand |
| What’s stored | Only the service account email and project ID — never a key |