Agent configuration file
The agent configuration file is used by a self-registering agent to persist its token information, which is required for restarts.
The agent looks for a file named nom-agent-config.yaml
under the following directories in order:
-
path set by
CONFIG_AGENT_CONFIG_PATH
environment variable -
conf
directory under path set byNEO4J_HOME
environment variable -
path set by
NEO4J_CONF
environment variable -
.nom
directory under user home directory by default
The agent initially reports a warning while running in self-register mode such as It is also possible to provide the entire configuration in configuration file but agent will override this file to only save configuration it requires to connect to NOM server. Recommended way to configure agent is through environment variables as specified here |
Following is a minimal agent configuration that is persisted by agent for server connection:
token:
url: "<url used for authentication>"
clientId: "<agent client ID>"
clientSecret: "<agent client secret>"