System controller config
Reference for the Ateliere Live System Controller configuration file
This page describes the configuration settings possible to set via the acl_sc_settings.json file.
| Expanded Config name | Config name | Description | Default value |
|---|---|---|---|
| security.salt | salt | Salt string for the generation of tokens and encryption keys | “Some random string” |
| security.n | n | N is CPU/memory cost parameter, must be a power of 2, greater than 1. 1 | 65536 |
| security.r | r | R constrain must satisfy R*P < 2^30. 1 | 8 |
| security.p | p | P constrain must satisfy R*P < 2^30, if exceeded this an error will be returned 1 | 1 |
| security.keylen | keylen | The length of the generated token | 32 |
| logger.level | level | The level that the logging will produce output, available in ascending order: debug, info, warn, error | info |
| site.port | port | Port on which the service is accessible | 8080 |
| site.host | host | The hostname that the service is accessible | localhost |
| response_timeout | response_timeout | How long a request between the system controller and a component is allowed before it times out | 5000ms |
| cors.allowed_origins | allowed_origins | Comma-separated list of origin addresses that is allowed | ["*"] |
| cors.allowed_methods | allowed_methods | Comma-separated list of HTTP methods that the service accepts | [“GET”, “POST”, “PUT”, “PATCH”, “DELETE”] |
| cors.allowed_headers | allowed_headers | Comma-separated list of headers that are allowed | ["*"] |
| cors.exposed_headers | exposed_headers | Comma-separated list of headers that are allowed for exposure | [""] |
| cors.allow_credentials | allow_credentials | Allowing the xKHR to set credentials cookies | false |
| cors.max_age | max_age | How long the preflight cache is stored before a new must be done again | 300 |
| custom_headers.[N].key | key | The key of the header, eg: name | None |
| custom_headers.[N].value | value | The value to the key of the header | None |