Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
docs(gateway): note the cloud-platform scope for the gcp iam type
bernie-ge7a5c535ac52
diff --git a/docs/cli/commands/gateway.mdx b/docs/cli/commands/gateway.mdxindex ac4a9ae995..cfd7e102a9 100644--- a/docs/cli/commands/gateway.mdx+++ b/docs/cli/commands/gateway.mdx@@ -130,7 +130,7 @@ In direct listen mode it also:infisical gateway start my-gateway --enroll-method=gcp --gateway-id=<gateway-id> --domain=https://app.infisical.com```- The `iam` type needs the IAM Service Account Credentials API enabled and `roles/iam.serviceAccountTokenCreator` on the service account being signed as.+ The `iam` type needs the IAM Service Account Credentials API enabled and `roles/iam.serviceAccountTokenCreator` on the service account being signed as. On a Compute Engine instance it also needs the `cloud-platform` scope, because the default scopes omit `iamcredentials`. Instance scopes can only be changed while the instance is stopped.See [Gateway Deployment](/documentation/platform/gateways/gateway-deployment) for the allowlist configuration this method needs.</Tab>diff --git a/docs/documentation/platform/gateways/gateway-deployment.mdx b/docs/documentation/platform/gateways/gateway-deployment.mdxindex 14716cfd67..dde328ed85 100644--- a/docs/documentation/platform/gateways/gateway-deployment.mdx+++ b/docs/documentation/platform/gateways/gateway-deployment.mdx@@ -292,7 +292,7 @@ For the ports, certificates, and traffic flow behind each mode, see [Network arc--domain=<your-infisical-domain>```- Add `--gcp-auth-type=iam` to sign the token through the IAM Credentials API instead of reading it from the metadata server. That path needs the IAM Service Account Credentials API enabled and `roles/iam.serviceAccountTokenCreator` on the service account being signed as. Point `--service-account-key-file-path` at a key file when the host has no credentials of its own.+ Add `--gcp-auth-type=iam` to sign the token through the IAM Credentials API instead of reading it from the metadata server. That path needs the IAM Service Account Credentials API enabled and `roles/iam.serviceAccountTokenCreator` on the service account being signed as. On a Compute Engine instance it also needs the `cloud-platform` scope, because the default scopes omit `iamcredentials`. Point `--service-account-key-file-path` at a key file when the host has no credentials of its own.</Tab></Tabs></Accordion>