Docs
Reference

Secret Manager (regional)

Secrets pinned to one Google Cloud region, readable only from that region.

Secrets pinned to one Google Cloud region, readable only from that region.

The connection

WhatThis provider
VendorGoogle Cloud
Keygcp-secret-manager-regional
Availabilityavailable. You can connect it today.
Credential penv holdsgcp-service-account
Values read backyes
Activationimmediate

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

immediate. The running app sees a new value at once.

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 with access to this project's secrets.

What the connection asks for

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

FieldLabelKindRequiredAdvancedWhat it is
projectIdProjecttextyesnoThe project holding the secrets. One connection covers one project.
basePrefixBase prefixtextyesnoThe widest secret name prefix this connection may touch. Every sync scope will sit under it.
locationRegiontextyesnoOne connection covers one region. A regional secret is readable only from that region and is never replicated.

What a mapping asks for

Answered once per environment you map.

FieldLabelKindRequiredAdvancedWhat it is
namePrefixSecret name prefixtextyesnoMaps onto this environment. Pruning deletes the secret outright, and Google keeps no recovery window.

Permissions it needs

penv probes for these when it verifies the connection.

PermissionDirectionsBlockingWithout it
secretmanager.secrets.listevery directionyesPreview cannot list what is under this prefix.
secretmanager.versions.accessimportyesImport cannot read any value, because roles/secretmanager.editor does not include it.
secretmanager.secrets.createexportyesExport cannot add a key that is not there yet.
secretmanager.versions.addexportyesExport cannot write a value.
secretmanager.versions.destroyexportnoSuperseded versions stay, and keep billing.
secretmanager.secrets.deleteexportnoThe overwrite_and_prune policy cannot remove remote keys.