Penv Cloud
Start free
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.

Connection

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

Directions

DirectionWhat it does
importWe read names and values out of the store into your environment.
exportWe write names and values from your environment into the store.

Activation

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

Conflict policies

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

How syncs work says what each one does.

Connect

Paste a credential from the vendor. We seal it and never show it again.

FieldLabelKindRequiredWhat it is
serviceAccountKeyService account keysecret; we mask it here and seal ityesThe JSON key file for a service account that can update this service.

Connection fields

You set these when you connect. Every mapping on the connection shares them.

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

Mapping fields

You answer these 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.

Required permissions

We probe for these when we verify 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.