nodejs config BSB v9.7.4

config-vault-google

bsb/config-vault-google

Managed BSB config plugin that loads Vault config with Google Cloud Run authentication

vault config managed runtime google cloud-run

config-vault-google

config-vault-google loads BSB runtime config from Vault and adds Google Cloud Run service-to-service authentication.

BSB_CONFIG_PLUGIN=config-vault-google
BSB_CONFIG_PLUGIN_PACKAGE=@bsb/config-vault-google
vaultUrl=https://vault-run-url.a.run.app
googleAudience=https://vault-run-url.a.run.app
apiKeyId=vk_xxx
apiSecret=vs_xxx
# cacheDir=/mounted/config-vault

googleAudience must be the Cloud Run service URL. The existing Vault API key and secret still decide which runtime profile can be loaded.

config-vault-google also accepts the same optional cacheDir and profile-authorized BSB_CONFIG_OVERRIDES settings as config-vault; overrides are applied locally after the Vault response is loaded.

Installation

Install plugin (Node.js)
npm i @bsb/config-vault-google

Configuration

Configuration for config plugins is provided through environment variables:

No configuration required

Available Versions

v9.7.4 v9.7.3 v9.7.2 v9.7.1 v9.7.0 v9.6.99 v9.6.98 v9.6.97 v9.6.96 v9.6.95 v9.6.94 v9.6.93 v9.6.92 v9.6.91 v9.6.90 v9.6.89 v9.6.85 v9.6.84 v9.6.83 v9.6.82 v9.6.81

Metadata