Configure your custom service account
Use your own GCP service account instead of the CARTO-provisioned one
By default, each CARTO Self-Hosted installation includes a dedicated GCP service account key, provisioned by CARTO, that the platform uses to access certain CARTO-managed services. If you prefer to use your own Google Cloud Platform (GCP) service account instead, follow the steps below before installing.
1. Create and register the service account
Create a dedicated GCP service account for your CARTO Self-Hosted deployment in the GCP console.
(Recommended for Single VM deployments) Attach this service account to the Compute Engine instance running CARTO, so the platform authenticates via the instance's identity instead of a long-lived JSON key.
Share the service account email with CARTO Support (support@carto.com) so it can be granted the required permissions on CARTO infrastructure.
Wait for confirmation from CARTO Support before proceeding to step 2.
2. Configure the service account in your deployment
Open the Admin Console:
Single VM:
http://<your-vm-ip>:30000Standard Orchestrated:
kubectl kots admin-console -n <namespace>, then openhttp://localhost:8800
Go to Config.
Locate the CARTO Platform credentials field. This textarea contains the service account JSON key used by CARTO to access CARTO platform services. By default it holds the CARTO-provisioned service account.
Replace the existing JSON value with the JSON key of your custom service account.
Click Save config, then Deploy to apply the change.
Add the service account to your customizations.yaml using one of these two options:
Option 1 — Inline value (create secret automatically):
Option 2 — Existing Kubernetes secret:
First, create the secret from your service account JSON key file:
Then reference it in your customizations.yaml:
Once your customizations.yaml is updated, apply with:
Last updated
Was this helpful?
