diff --git a/crates/configs/src/simulator.rs b/crates/configs/src/simulator.rs index 7ded37a1b5..78263ac8c0 100644 --- a/crates/configs/src/simulator.rs +++ b/crates/configs/src/simulator.rs @@ -64,7 +64,12 @@ pub struct TenderlyConfig { /// Tenderly requires api key to work. Optional since Tenderly could be /// skipped in access lists estimators. - #[serde(default)] + /// Supports reading from an environment variable with the `%ENV_VAR` + /// format. + #[serde( + default, + deserialize_with = "crate::deserialize_env::deserialize_string_from_env" + )] pub api_key: String, /// The URL of the Tenderly API.