You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by ma...@apache.org on 2026/01/05 11:39:25 UTC

(iggy) branch connectors-secrets created (now fabfed062)

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

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


      at fabfed062 fix(connectors): add known secrets to env config reader

This branch includes the following new commits:

     new fabfed062 fix(connectors): add known secrets to env config reader

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(iggy) 01/01: fix(connectors): add known secrets to env config reader

Posted by ma...@apache.org.
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 <ma...@modzelewski.dev>
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),
         }
     }
 }