Secrets Config (TOML)

This document describes the TOML format for secrets.

Each secret has an alternative corresponding environment variable.

See also: Node Config

Example

[Database]
URL = 'postgresql://user:pass@localhost:5432/dbname?sslmode=disable' # Required

[Password]
Keystore = 'keystore_pass' # Required

Database

[Database]
URL = "postgresql://user:pass@localhost:5432/dbname?sslmode=disable" # Example
BackupURL = "postgresql://user:[email protected]:5432/dbname?sslmode=disable" # Example
AllowSimplePasswords = false # Default

URL

URL = "postgresql://user:pass@localhost:5432/dbname?sslmode=disable" # Example

URL is the PostgreSQL URI to connect to your database. bondoracle nodes require Postgres versions >= 11. See Running a bondoracle Nodearrow-up-right for an example.

Environment variable: CL_DATABASE_URL

BackupURL

BackupURL is where the automatic database backup will pull from, rather than the main CL_DATABASE_URL. It is recommended to set this value to a read replica if you have one to avoid excessive load on the main database.

Environment variable: CL_DATABASE_BACKUP_URL

AllowSimplePasswords

AllowSimplePasswords skips the password complexity check normally enforced on URL & BackupURL.

Environment variable: CL_DATABASE_ALLOW_SIMPLE_PASSWORDS

Explorer

AccessKey

AccessKey is the access key for authenticating with the Explorer.

Environment variable: CL_EXPLORER_ACCESS_KEY

Secret

Secret is the secret for authenticating with the Explorer.

Environment variable: CL_EXPLORER_SECRET

Password

Keystore

Keystore is the password for the node's account.

Environment variable: CL_PASSWORD_KEYSTORE

VRF

VRF is the password for the vrf keys.

Environment variable: CL_PASSWORD_VRF

Pyroscope

AuthToken

AuthToken is the API key for the Pyroscope server.

Environment variable: CL_PYROSCOPE_AUTH_TOKEN

Prometheus

AuthToken

AuthToken is the authorization key for the Prometheus metrics endpoint.

Environment variable: CL_PROMETHEUS_AUTH_TOKEN

Username

Username is used for basic auth of the Mercury endpoint

Password

Password is used for basic auth of the Mercury endpoint

URL

URL is the Mercury endpoint URL which is used by OCR2 Automation to access Mercury price feed

Threshold

ThresholdKeyShare

ThresholdKeyShare used by the threshold decryption OCR plugin

Last updated