Docs
Reference

Google Cloud Run

Sync secrets into a Cloud Run service's environment variables.

Sync secrets into a Cloud Run service's environment variables.

The connection

WhatThis provider
VendorGoogle Cloud
Keygcp-cloud-run-env
Availabilityavailable. You can connect it today.
Credential penv holdsgcp-service-account
Values read backyes
Activationon-next-deploy

What it moves

DirectionWhat it does
importReads names and values out of the store into penv.
exportWrites names and values from penv into the store.

When a written value goes live

on-next-deploy. A new value waits there and arrives with your next deploy.

What happens to a name that exists

DirectionPolicies you can pick
importskip_existing, new_version, fail
exportcreate_only, overwrite, overwrite_and_prune

How syncs work says what each one does.

How you connect

You paste a credential you already hold. penv seals it and never shows it again.

FieldLabelKindRequiredWhat it is
serviceAccountKeyService account keysecret, masked here and sealedyesThe JSON key file for a service account that can update this service.

What the connection asks for

Fixed when you connect, and shared by every mapping on it.

FieldLabelKindRequiredAdvancedWhat it is
projectIdProjecttextyesnoThe project holding the service. One connection covers one project.
regionRegiontextyesnoThe region this connection reaches. One connection covers one region.

What a mapping asks for

Answered once per environment you map.

FieldLabelKindRequiredAdvancedWhat it is
serviceNameServicetextyesnoThe Cloud Run service whose variables this environment maps onto. Import needs literal values; a Secret Manager reference cannot be read back.

Permissions it needs

penv probes for these when it verifies the connection.

PermissionDirectionsBlockingWithout it
run.services.getevery directionyesPreview cannot list the service's variables.
run.services.listevery directionnoWe cannot confirm the key reaches this project and region before a sync runs.
run.services.updateexportyesExport cannot write anything.
run.operations.getexportnoWe cannot confirm the new revision went live.