Hi!
As I understand, those settings as well as the credentials json must set on the server side, not on the client side.
Once you do that on the server side, the client can be initialized without the credentials.
Let me know if this helps.
Thanks!