nickva commented on issue #5155: URL: https://github.com/apache/couchdb/issues/5155#issuecomment-2256250073
I think @rnewson indicated a good solution: using an `.ini` file which sops-nix seems to [support](https://github.com/Mic92/sops-nix/blob/eb34eb588132d653e4c4925d862f1e5a227cc2ab/README.md?plain=1#L580). CouchDB config system, besides `default.ini` and `local.ini`, will also look in the directories `default.d` and `local.d`, which can contain any number of `*.ini` files. So, wonder if deploying something `.../couchdb/etc/local.d/50-sopx-admins.ini` would work with contents being something simple like this: ``` [admins] adm = pass ``` Or better if it's pre-hashed already: ``` [admins] adm = -pbkdf2:sha256-ae88e5f190f4...,50000 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
