SetUserSecretManager installs the per-user persistent secret manager on a Server. Used by the multitenant control plane after the config store is up. Must be called before the server starts accepting connections.
(s *Server, mgr UserSecretManager)
| 351 | // Should be unreachable. Log the length, not the value — it is |
| 352 | // arbitrary client input. |
| 353 | cc.logger().Warn("Non-canonical duckgres.query_source at billing teardown; degrading to default.", |
| 354 | "value_len", len(qs)) |
| 355 | qs = defaultQuerySource |
| 356 | } |
| 357 | return cc.orgID, cc.username, qs, cc.workerMillicores, cc.workerMiB, time.Since(cc.backendStart) |
| 358 | } |