electric icon indicating copy to clipboard operation
electric copied to clipboard

Implement alternative ways for configuring database credentials

Open alco opened this issue 2 months ago • 0 comments

Currently, the only way to set the username and the password for database connections is via the DATABASE_URL environment variable. This is insecure and may not be allowed in certain runtime environments. Electric should allow to configure secret credentials separately from the connection info, such as by reading it from a file on disk or on an in-memory file system.

Motivated by #2149. Related issue - #1885.

alco avatar Dec 12 '24 14:12 alco