mirror of
https://github.com/hanzoai/base.git
synced 2026-10-21 03:41:50 +00:00
Every address the plugin publishes hands out, or acts on, the connection string that opens a database, and that string carries the PostgreSQL password the plugin holds. Register now returns on a Config that is not Enabled, so /v1/cloud-sql and /v1/meta are addresses an unconfigured process does not answer at rather than addresses it refuses at. Opt in with CLOUD_SQL_ENABLED=true, the way bootnode and calendar opt in: an Enabled field, a ConfigFromEnv that reads it, and a Register that returns early without it.