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

  • Last Modified: 2020-09-23 21:26:58 UTC by Dana Canzano.
  • Relevant for Neo4j Versions: 3.3.
  • Relevant keywords server,configuration.