Commit 26b2e0d
committed
gcp: Use CredentialsFromJSONWithTypeAndParams for universe domain support
Update GCP credential loading to use CredentialsFromJSONWithTypeAndParams
and FindDefaultCredentialsWithParams instead of the basic variants. This
ensures that the universe domain specified in the credentials JSON is
automatically applied when creating GCP API clients.
The universe domain is required for sovereign cloud installations to
ensure API calls are directed to the correct endpoints.1 parent 7643377 commit 26b2e0d
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
186 | 189 | | |
187 | 190 | | |
188 | 191 | | |
| |||
196 | 199 | | |
197 | 200 | | |
198 | 201 | | |
199 | | - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
200 | 206 | | |
201 | 207 | | |
202 | 208 | | |
| |||
0 commit comments