From: Adam R. <ad...@ex...> - 2022-05-24 22:32:20
|
AFAIK the command line args are the only way at the moment. I would be happy to see a PR that improves that though On Tue, 24 May 2022, 11:52 Florian Schmitt, < mai...@fl...> wrote: > Hi all, > > is there a different way to provide authentication credentials to the > Java Admin Client other than the command line parameters, e.g. read > the user credentials from the file system? My use case is writing a > bash script to import some resources into eXist using the Java Admin > Client. Currently, the only way to authenticate seems to be using the > command line parameters -u and -P, providing the db user credentials > in clear text in the bash script. This is quite ugly. Other tools, > e.g. cUrl, allow for using .netrc files with appropriate access > rights. Is something similar available fot the command line client? > What's the best practice for this use case? > > Thanks in advance! > Florian > > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |