For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

On Kubernetes you can avoid long-lived service account keys entirely by using keyless identity federation. See Cloud Identities: Workload Identity in GCP and EKS Pod Identity in AWS.

1. Create and register the service account

  1. Create a dedicated GCP service account for your CARTO Self-Hosted deployment in the GCP console.

  2. (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.

  3. 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

Kots
  1. Open the Admin Console:

    • Single VM: http://<your-vm-ip>:30000

    • Standard Orchestrated: kubectl kots admin-console -n <namespace>, then open http://localhost:8800

  2. Go to Config.

  3. 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.

  1. Replace the existing JSON value with the JSON key of your custom service account.

  2. Click Save config, then Deploy to apply the change.

The CARTO Platform credentials field is only visible when Workload Identity is disabled. If you are using Workload Identity, the service account is configured in that section instead.

Last updated

Was this helpful?