Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleAgent private.conf file configuration
linenumberstrue
js7 {
    auth { ... }
    configuration { ... }
    job { ... }
    web { ... }

	    api-server {
      	  # API Server URL
	        url = [ "https://joc-2-0-primary:4443" ]

        	# Option 1: use of a Credential Store
	        cs-file=${js7.config-directory}"/private/secret.kdbx"
	        cs-key=${js7.config-directory}"/private/secret.key"
        	cs-password="secret"

	        # Option 1: use of references to credentials 
     	   username="cs://myAccounts/joc@username"
	        password="cs://myAccounts/joc@password"


      	  # Option 2: use of account and password
        # username="root"
        # password="root"
	    }
}


Explanation:

  • The api-server configuration section specifies authentication details for the CheckHistoryJob and can occur in any position directly within the js7 configuration block.
  • Configuration items available from this configuration section are explained with the following chapters.

...