Use azure identity package for e2e test credentials (#2032)

* Update identity package, remove ms-rest-nodeauth package.

* Test changes to use identity package.
This commit is contained in:
jawelton74
2025-01-21 07:07:18 -08:00
committed by GitHub
parent 96faf92c12
commit eceee36913
5 changed files with 121 additions and 412 deletions

View File

@@ -13,7 +13,7 @@ import {
} from "../fx";
test("SQL account using Resource token", async ({ page }) => {
const credentials = await getAzureCLICredentials();
const credentials = getAzureCLICredentials();
const armClient = new CosmosDBManagementClient(credentials, subscriptionId);
const accountName = getAccountName(TestAccount.SQL);
const account = await armClient.databaseAccounts.get(resourceGroupName, accountName);