Commit 6d623b8
committed
fix(config): collect GEMINI_API_KEY from system env into managed service keys
When GEMINI_API_KEY is set in the system environment but not in the
config env section or .env file, it was written as a plaintext literal
in the generated systemd service file instead of being managed via
OPENCLAW_SERVICE_MANAGED_ENV_KEYS.
Add GEMINI_API_KEY (and related GOOGLE_API_KEY, GEMINI_API_KEYS,
GEMINI_API_KEY_0) to the list of provider API keys collected from the
system environment into durableEnvironment, so they are included in
the managed service env keys list.
Fixes #958951 parent 514b336 commit 6d623b8
1 file changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
130 | 141 | | |
131 | 142 | | |
132 | 143 | | |
133 | 144 | | |
134 | 145 | | |
135 | 146 | | |
136 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
137 | 158 | | |
138 | 159 | | |
139 | 160 | | |
140 | 161 | | |
141 | 162 | | |
142 | 163 | | |
| 164 | + | |
143 | 165 | | |
144 | 166 | | |
145 | 167 | | |
| |||
0 commit comments