(config_file: Option<&str>)
| 9 | pub const DEFAULT_CONFIG: &str = include_str!("../kms.toml"); |
| 10 | |
| 11 | pub fn load_config_figment(config_file: Option<&str>) -> Figment { |
| 12 | load_config("kms", DEFAULT_CONFIG, config_file, false) |
| 13 | } |
| 14 | |
| 15 | const TEMP_CA_CERT: &str = "tmp-ca.crt"; |
| 16 | const TEMP_CA_KEY: &str = "tmp-ca.key"; |