This is an automated email from the ASF dual-hosted git repository.
gkoszyk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iggy.git
The following commit(s) were added to refs/heads/master by this push:
new a878a4da8 fix(connectors): add known secrets to env config reader
(#2538)
a878a4da8 is described below
commit a878a4da8088a9afb606532758a315f8580b750f
Author: Maciej Modzelewski <[email protected]>
AuthorDate: Mon Jan 5 13:30:54 2026 +0100
fix(connectors): add known secrets to env config reader (#2538)
---
core/connectors/runtime/src/configs/runtime.rs | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/core/connectors/runtime/src/configs/runtime.rs
b/core/connectors/runtime/src/configs/runtime.rs
index f9ef28c90..bf81b8651 100644
--- a/core/connectors/runtime/src/configs/runtime.rs
+++ b/core/connectors/runtime/src/configs/runtime.rs
@@ -28,6 +28,11 @@ use serde_with::{DisplayFromStr, serde_as};
use std::collections::HashMap;
use std::fmt::{Display, Formatter};
+const SECRET_KEYS: [&str; 2] = [
+ "IGGY_CONNECTORS_IGGY_PASSWORD",
+ "IGGY_CONNECTORS_IGGY_TOKEN",
+];
+
#[derive(Debug, Default, Clone, Deserialize, Serialize)]
#[serde(default)]
pub struct ConnectorsRuntimeConfig {
@@ -257,7 +262,7 @@ pub struct ConnectorsEnvProvider {
impl Default for ConnectorsEnvProvider {
fn default() -> Self {
Self {
- provider: CustomEnvProvider::new("IGGY_CONNECTORS_", &[]),
+ provider: CustomEnvProvider::new("IGGY_CONNECTORS_", &SECRET_KEYS),
}
}
}