Skip to main content

config.toml

operator

node_url

URL of the blockchain node used by the operator to anchor information on-chain.

PropertyValue
Typestring
RequiredYes
Default-

port

Port where the operator listens for incoming requests.

PropertyValue
Typenumber
RequiredNo
Default3000

operator.workspace

operator.workspace.jwt

secret

Secret key used for signing JWT tokens to authenticate users on the Workspace API.

PropertyValue
Typestring
RequiredNo
Default-

tokenValidity

Validity duration of the generated JWT tokens (e.g., '8h').

PropertyValue
Typestring
RequiredNo
Default8h

operator.workspace.graphql

debug

Enable or disable GraphQL debug mode.

PropertyValue
Typeboolean
RequiredNo
Defaulttrue

operator.swagger

path

Path under which Swagger UI and API docs are served.

PropertyValue
Typestring
RequiredNo
Defaultswagger

operator.cors

origin

Allowed origins for CORS requests (e.g., '*').

PropertyValue
Typestring
RequiredNo
Default*

methods

Allowed HTTP methods for CORS requests.

PropertyValue
Typestring
RequiredNo
DefaultGET,POST,PUT,DELETE,OPTIONS

operator.database

operator.database.encryption

algorithm

Encryption algorithm used to protect sensitive data.

PropertyValue
Typestring
RequiredNo
Defaultchacha20-poly1305

iv_length

Length of the initialization vector (IV) for encryption.

PropertyValue
Typenumber
RequiredNo
Default12

encryption_key

Custom encryption key. If omitted and generation is allowed, a key will be generated.

PropertyValue
Typestring
RequiredNo
Default-

allow_encryption_key_generation

Whether the system is allowed to generate an encryption key if none is provided.

PropertyValue
Typeboolean
RequiredNo
Defaulttrue

operator.database.postgresql

user

PostgreSQL user.

PropertyValue
Typestring
RequiredYes
Default-

password

PostgreSQL password.

PropertyValue
Typestring
RequiredYes
Default-

database

Name of the PostgreSQL database.

PropertyValue
Typestring
RequiredYes
Default-

url

PostgreSQL connection URL.

PropertyValue
Typestring
RequiredYes
Default-

port

Port number of the PostgreSQL server.

PropertyValue
Typenumber
RequiredYes
Default-

operator.database.mysql

user

MySQL user.

PropertyValue
Typestring
RequiredYes
Default-

password

MySQL password.

PropertyValue
Typestring
RequiredYes
Default-

database

Name of the MySQL database.

PropertyValue
Typestring
RequiredYes
Default-

url

MySQL connection URL.

PropertyValue
Typestring
RequiredYes
Default-

port

Port number of the MySQL server.

PropertyValue
Typenumber
RequiredYes
Default-

operator.database.sqlite

database

Path to the SQLite database file (relative to paths.home).

PropertyValue
Typestring
RequiredYes
Default-

operator.protocols

operator.protocols.wap

version

Version of the Wallet Authentication Protocol (WAP) used to obtain wallet information and signatures.

PropertyValue
Typestring
RequiredNo
Defaultv0

operator.paths

home

Base directory for all relative paths.

PropertyValue
Typestring
RequiredNo
Default/home/runner/work/carmentis-operator/carmentis-operator/operator

init_token

Path to the initialization token file used for first-time setup.

PropertyValue
Typestring
RequiredNo
Defaultadmin-token.txt

db_encryption_key

Path where the database encryption key is stored.

PropertyValue
Typestring
RequiredNo
Defaultdb-encryption-key.txt

jwt_secret

Path to the JWT secret file.

PropertyValue
Typestring
RequiredNo
Defaultjwt-secret.txt