This is an automated email from the ASF dual-hosted git repository.

maciej pushed a commit to branch connectors-secrets
in repository https://gitbox.apache.org/repos/asf/iggy.git

commit fabfed062b1461208b0c0c0c1982d6ce0c5baf9b
Author: Maciej Modzelewski <[email protected]>
AuthorDate: Mon Jan 5 12:37:36 2026 +0100

    fix(connectors): add known secrets to env config reader
---
 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),
         }
     }
 }

Reply via email to