The site accounts service is used to store and manage site accounts.
The relative root path of all exposed HTTP endpoints of the service.
[http.services.siteacc]
prefix = "/siteacc"
The passphrase to use when encoding stored credentials. Should be exactly 32 characters long.
[http.services.siteacc.security]
creds_passphrase = "supersecretpasswordthatyouknow!"
The external URL of the central GOCDB instance.
[http.services.siteacc.gocdb]
url = "https://www.sciencemesh.eu/gocdb/"
The external URL of the GOCDB Write API.
[http.services.siteacc.gocdb]
write_url = "https://www.sciencemesh.eu/gocdbpi/"
The API key for the GOCDB.
[http.services.siteacc.gocdb]
apikey = "verysecret"
An email address where all notifications are sent to.
[http.services.siteacc.email]
notifications_mail = "notify@example.com"
An email address from which all emails are sent.
[http.services.siteacc.email.smtp]
sender_mail = "notify@example.com"
The login name.
[http.services.siteacc.email.smtp]
sender_login = "hans"
The password for the login.
[http.services.siteacc.email.smtp]
password = "secret"
The SMTP server to use.
[http.services.siteacc.email.smtp]
smtp_server = "smtp.example.com"
The SMTP server port to use.
[http.services.siteacc.email.smtp]
smtp_port = 25
Whether to disable authentication.
[http.services.siteacc.email.smtp]
disable_auth = true
The storage driver to use; currently, only file
is supported.
[http.services.siteacc.storage]
driver = "file"
The operators file location.
[http.services.siteacc.storage.file]
operators_file = "/var/reva/operators.json"
The accounts file location.
[http.services.siteacc.storage.file]
accounts_file = "/var/reva/accounts.json"
The main Mentix URL.
[http.services.siteacc.mentix]
url = "https://iop.example.com/mentix"
The main data endpoint of Mentix.
[http.services.siteacc.mentix]
data_endpoint = "/data"
The site registration endpoint of Mentix.
[http.services.siteacc.mentix]
sitereg_endpoint = "/register"
The external URL of the site accounts service.
[http.services.siteacc.webserver]
url = "https://www.sciencemesh.eu/accounts/"
The session timeout in seconds.
[http.services.siteacc.webserver]
session_timeout = 600
If true, sessions are only valid if they belong to the same IP. This can cause problems behind proxy servers.
[http.services.siteacc.webserver]
verify_remote_address = true
If enabled, debug information about sessions will be printed.
[http.services.siteacc.webserver]
log_sessions = true