View Source Hush.Provider.GcpSecretManager (hush_gcp_secret_manager v1.0.0)

Implements a Hush.Provider behaviour to resolve secrets from Google Secret Manager at runtime.

To configure this provider, hush and hush_gcp_secret_manager.

The configuration supplied to :hush_gcp_secret_manager.goth is in the same format as you would configure goth, as per https://github.com/peburrows/goth

# config.exs

config :hush,
  providers: [Hush.Provider.GcpSecretManager]

config :hush_gcp_secret_manager,
  goth: [name: MyApp.GothHush, source: ...],
  project_id: "my_project_id"