Skip to content

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

docs(pki): google cloud dns acme permissions

bernie-g676321ea2c1f
diff --git a/docs/documentation/platform/pki/ca/acme-ca.mdx b/docs/documentation/platform/pki/ca/acme-ca.mdx
index ac1ca91b96..9909497b93 100644
--- a/docs/documentation/platform/pki/ca/acme-ca.mdx
+++ b/docs/documentation/platform/pki/ca/acme-ca.mdx
@@ -142,7 +142,9 @@ In the following steps, we explore how to connect Infisical to an ACME-compatibl
<Tab title="Google Cloud DNS">
1. In **Certificate Manager**, go to **Settings → App Connections** and create a new GCP connection. The service account's ID must end with the first two sections of your Infisical organization ID, as described in [Configure service account for Infisical](/integrations/app-connections/gcp#configure-service-account-for-infisical).
- 2. On the Google Cloud project that holds your public managed zone, grant the connection's service account the **DNS Administrator** (`roles/dns.admin`) and **Service Usage Viewer** (`roles/serviceusage.serviceUsageViewer`) roles, and enable the APIs Infisical calls:
+ 2. On the Google Cloud project that holds your public managed zone, grant the connection's service account the **DNS Administrator** (`roles/dns.admin`) and **Service Usage Viewer** (`roles/serviceusage.serviceUsageViewer`) roles.
+
+ 3. Enable the Google Cloud APIs that Infisical uses on that same project:
```bash
gcloud services enable \
@@ -152,7 +154,7 @@ In the following steps, we explore how to connect Infisical to an ACME-compatibl
--project=PROJECT_ID
```
- Infisical lists only projects with the Cloud DNS API enabled, and only public managed zones, because the ACME CA can't resolve records in a private zone.
+ When you register the CA, the **GCP Project** list shows only projects with the Cloud DNS API enabled. The **Zone** list shows only public managed zones, since an ACME CA can't look up records in a private zone.
For detailed instructions on setting up a GCP connection, see the [GCP Connection](/integrations/app-connections/gcp) documentation.
</Tab>
diff --git a/docs/integrations/app-connections/gcp.mdx b/docs/integrations/app-connections/gcp.mdx
index f3c089e319..d8e35fb5bc 100644
--- a/docs/integrations/app-connections/gcp.mdx
+++ b/docs/integrations/app-connections/gcp.mdx
@@ -104,6 +104,21 @@ Infisical supports [service account impersonation](https://cloud.google.com/iam/
Certificate Manager Owner is needed if you enable certificate removal on a sync, or if you attach a sync to a certificate map. `roles/certificatemanager.editor` grants no delete permissions, and maintaining a map entry replaces or removes it.
</Tab>
+ <Tab title="ACME DNS validation">
+ Add the required permissions for [ACME certificate authorities](/documentation/platform/pki/ca/acme-ca) that validate domains through Google Cloud DNS.
+
+ Grant the **DNS Administrator** (`roles/dns.admin`) and **Service Usage Viewer** (`roles/serviceusage.serviceUsageViewer`) roles on the project that holds your public managed zone. DNS Administrator lets Infisical create and delete the challenge TXT records, and Service Usage Viewer lets Infisical list the projects where the Cloud DNS API is enabled.
+
+ Then enable the Google Cloud APIs that Infisical uses on that same project:
+
+ ```bash
+ gcloud services enable \
+ dns.googleapis.com \
+ cloudresourcemanager.googleapis.com \
+ serviceusage.googleapis.com \
+ --project=PROJECT_ID
+ ```
+ </Tab>
</Tabs>
After configuring the appropriate roles, press "DONE".
</Step>