Skip to content

Commit a4d6dfd

Browse files
committed
Migrate Arlington methods to Key Vault
- Migrate GetArlingtonUserAsync to use MergeKVLabDataAsync with Key Vault secrets - Migrate GetArlingtonADFSUserAsync to use MergeKVLabDataAsync with Key Vault secrets - Replace direct msidlab.com API calls with pre-cached Key Vault data retrieval - Maintains same functionality while reducing external API dependencies - Uses consistent pattern with other migrated methods (B2C, default users) - Arlington ADFS migration verified working in tests - Arlington standard method has Key Vault data quality issue to be resolved separately
1 parent 03131d9 commit a4d6dfd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/Microsoft.Identity.Test.LabInfrastructure/LabUserHelper.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,16 +183,14 @@ public static Task<LabResponse> GetB2CLocalAccountAsync()
183183

184184
public static Task<LabResponse> GetArlingtonUserAsync()
185185
{
186-
var response = GetLabUserDataAsync(UserQuery.ArlingtonUserQuery);
186+
var response = MergeKVLabDataAsync("ARL-User-IDLab-JSON", "ARLMSIDLAB1", "ARL-App-IDLABSAPP-JSON");
187187
response.Result.User.AzureEnvironment = AzureEnvironment.azureusgovernment;
188188
return response;
189189
}
190190

191191
public static Task<LabResponse> GetArlingtonADFSUserAsync()
192192
{
193-
var query = UserQuery.ArlingtonUserQuery;
194-
query.UserType = UserType.Federated;
195-
var response = GetLabUserDataAsync(query);
193+
var response = MergeKVLabDataAsync("ARL-User-fIDLAB-JSON", "ARLMSIDLAB1", "ARL-App-IDLABSAPP-JSON");
196194
response.Result.User.AzureEnvironment = AzureEnvironment.azureusgovernment;
197195
return response;
198196
}

0 commit comments

Comments
 (0)