Making username and password mandatory

How can I ensure that the connection cannot be made without the username and password information in the Event Store connection information? How can I make it mandatory?

In the code creating the connection it’s impossible since we don’t know in advance if the cluster is secured or not.
I know of no client library of any db that make those required : only because there are different authentication options .

1 Like