Closed chunshao90 closed 6 months ago
Besides store tenants in ceresmeta, we should also support this via config files
https://www.postgresql.org/docs/current/sql-createrole.html
PG will store password according to https://www.postgresql.org/docs/current/runtime-config-connection.html#GUC-PASSWORD-ENCRYPTION, and users can't get original password.
For gRPC, we can use Bearer auth
Describe This Problem
Tenant management and authentication.
Proposal
Simple solution
[server.auth.file] username = "admin" password = "secret-token"