Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

misc: addressed comment

Sheen Capadngan7fd7d7028aa7
diff --git a/docs/documentation/platform/pam/accounts/gcp-service-account.mdx b/docs/documentation/platform/pam/accounts/gcp-service-account.mdx
index 808c7ed751..9a40343a00 100644
--- a/docs/documentation/platform/pam/accounts/gcp-service-account.mdx
+++ b/docs/documentation/platform/pam/accounts/gcp-service-account.mdx
@@ -51,9 +51,13 @@ You pick one of these when creating the account. The setup for each is covered i
<Tabs>
<Tab title="Impersonation">
- There are no credentials to enter — but you need to authorize Infisical's service account to impersonate your target service account. This is a one-time grant per target service account.
+ There are no credentials to enter — but you need a one-time setup so Infisical can impersonate your target service account.
- **1. Find Infisical's service account**
+ **1. Enable the IAM Service Account Credentials API**
+
+ In the target service account's Google Cloud project, enable the IAM Service Account Credentials API (`iamcredentials.googleapis.com`). Without it, the account still saves, but sessions fail with a token-generation error when you try to connect.
+
+ **2. Find Infisical's service account**
| Environment | Infisical's service account |
|-------------|-----------------------------|
@@ -61,9 +65,9 @@ You pick one of these when creating the account. The setup for each is covered i
| Infisical Cloud EU | `[email protected]` |
| Self-hosted | The service account configured via the `INF_APP_CONNECTION_GCP_SERVICE_ACCOUNT_CREDENTIAL` environment variable |
- **2. Grant it the Token Creator role**
+ **3. Grant it the Token Creator role**
- In the Google Cloud Console, go to **IAM & Admin → Service Accounts**, select your **target** service account, open the **PERMISSIONS** tab, click **Grant Access**, add Infisical's service account (from step 1) as a principal, and assign it the **Service Account Token Creator** (`roles/iam.serviceAccountTokenCreator`) role.
+ In the Google Cloud Console, go to **IAM & Admin → Service Accounts**, select your **target** service account, open the **PERMISSIONS** tab, click **Grant Access**, add Infisical's service account (from step 2) as a principal, and assign it the **Service Account Token Creator** (`roles/iam.serviceAccountTokenCreator`) role.
<Note>
**Self-hosted only:** impersonation first needs a platform GCP service account configured on your instance — a one-time setup covered in [Configuring GCP for a self-hosted instance](/integrations/app-connections/gcp).