Commit d3e7cf5
committed
fix(egress): atomic URL+headers rotation and Kotlin binary compat
- Make URL and headers rotation atomic: skip URL update when headers
validation fails, preventing bootstrap header leakage to new URL
- Add source(InlineCredentialSource) and source(HTTPCredentialSource)
overloads to Kotlin Credential.Builder for binary compatibility
with existing callers compiled against the previous SDK1 parent e7e73bf commit d3e7cf5
2 files changed
Lines changed: 20 additions & 8 deletions
File tree
- components/egress/pkg/credentialvault
- sdks/sandbox/kotlin/sandbox/src/main/kotlin/com/alibaba/opensandbox/sandbox/domain/models/sandboxes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
152 | 158 | | |
153 | 159 | | |
154 | 160 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | 161 | | |
160 | 162 | | |
161 | 163 | | |
| |||
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
175 | 185 | | |
176 | 186 | | |
177 | 187 | | |
| |||
0 commit comments