From: Florian S. <mai...@fl...> - 2022-05-09 09:51:48
|
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 |