Commit 530e40c
authored
Add ManagedIdentityCredential support in ConfigurableCredentialProvider (#56283)
* Add ManagedIdentityCredential support in ConfigurableCredentialProvider (#55502)
* Add ConfigurableCredential support for ManagedIdentityCredential tests
Implements #55502: Adds ManagedIdentityCredential to the ConfigurableCredential
test infrastructure. Refactors base test class to use virtual factory methods,
adds CC test subclass and creation tests. Probe-specific tests are skipped in
CC pending chained credential support (#56233).
* Add ManagedIdentityIdType/ManagedIdentityId config properties
Introduce unified ManagedIdentityIdType (SystemAssigned|ClientId|ResourceId|
ObjectId) and ManagedIdentityId config properties, taking priority over legacy
per-type properties. Creation tests expanded to 18 with separate assertions
for both identity type and ID value smuggled through to ManagedIdentityId.
* Rename ManagedIdentityIdType config property to ManagedIdentityIdKind1 parent e9ad88e commit 530e40c
File tree
5 files changed
+840
-336
lines changed- sdk/identity/Azure.Identity
- src
- Credentials
- tests
- ConfigurableCredentials
5 files changed
+840
-336
lines changedLines changed: 36 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
103 | 118 | | |
104 | 119 | | |
105 | 120 | | |
| |||
331 | 346 | | |
332 | 347 | | |
333 | 348 | | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
334 | 366 | | |
335 | 367 | | |
336 | 368 | | |
| |||
444 | 476 | | |
445 | 477 | | |
446 | 478 | | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
447 | 482 | | |
448 | 483 | | |
449 | 484 | | |
| |||
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
300 | 312 | | |
301 | 313 | | |
302 | 314 | | |
303 | 315 | | |
304 | 316 | | |
305 | 317 | | |
306 | 318 | | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
307 | 323 | | |
308 | 324 | | |
309 | 325 | | |
| |||
0 commit comments