fedimint_cli/envs.rs
1// Env variable to set the working directory of the client containing the config
2// and db
3pub const FM_CLIENT_DIR_ENV: &str = "FM_CLIENT_DIR";
4
5// Env variable to set the peer id of the guardian
6pub const FM_OUR_ID_ENV: &str = "FM_OUR_ID";
7
8// Env variable to set the guardian password for authenticating admin
9// requests against the federation API.
10pub const FM_PASSWORD_API_ENV: &str = "FM_PASSWORD_API";
11
12// Env variable to set a federation secret as consensus-encoded hex.
13pub const FM_FEDERATION_SECRET_HEX_ENV: &str = "FM_FEDERATION_SECRET_HEX";
14
15// Env variable to use Tor connector, instead of default Tcp/ClearNet.
16pub const FM_USE_TOR_ENV: &str = "FM_USE_TOR";
17
18pub const FM_IROH_ENABLE_DHT_ENV: &str = "FM_IROH_ENABLE_DHT";
19
20// Api authentication secret
21pub const FM_API_SECRET_ENV: &str = "FM_API_SECRET";
22
23// Env variable to select database backend (rocksdb or cursed-redb)
24pub const FM_DB_BACKEND_ENV: &str = "FM_DB_BACKEND";
25
26/// Salt backup for combining with the private key
27pub const SALT_FILE: &str = "private.salt";