Knowledge Base

When authentication is enabled in Neo4j, how do I call the HA Status REST API without a username/password

One can enable authentication for the Neo4j database by adding the following to the conf/neo4j-server.properties

dbms.security.auth_enabled=true

In doing so any connections to the database will need to provide a username/password.

However, for the REST endpoint for HA Status information a username/password is not required for these endpoints (/db/manage/server/ha/*) if the following parameter is defined in the conf/neo4j.properties

dbms.security.ha_status_auth_enabled=false