Skip to main content

Setup

Nexus comes with a query-parameter based authentication middleware. It is disabled by default. To enable it, you need to set the rpcAuthKey config in the Nexus configuration. Alternatively, you can set the NEXUS_RPC_AUTH_KEY environment variable.

Usage

Once you set the rpcAuthKey config, you can start the server and access it with the ?key query parameter.