Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
maorleger committed Nov 18, 2024
1 parent 81eba3c commit c498f6f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { delay } from "@azure/core-util";
import type { KeyClient } from "@azure/keyvault-keys";
import { describe, it, expect, beforeEach, afterEach } from "vitest";

// TODO: https://github.com/Azure/azure-sdk-for-js/issues/30273
describe("KeyVaultBackupClient", () => {
let client: KeyVaultBackupClient;
let keyClient: KeyClient;
Expand Down
5 changes: 1 addition & 4 deletions sdk/keyvault/test-resources-post.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,5 @@ New-AzKeyVaultRoleAssignment -HsmName $hsmName -RoleDefinitionName "Managed HSM
Log "Role assignments created for '$testApplicationOid'"

Log "Associating managed identity with managed HSM"
Update-AzKeyVaultManagedHsm `
-HsmName $hsmName`
-IdentityType "UserAssigned" `
-UserAssignedIdentityId $DeploymentOutputs["MANAGED_IDENTITY_ID"]
Update-AzKeyVaultManagedHsm -HsmName $hsmName -IdentityType "UserAssigned" -UserAssignedIdentityId $DeploymentOutputs["MANAGED_IDENTITY_ID"]
Log "Managed identity associated with managed HSM - backup and restore using managed identity is enabled"

0 comments on commit c498f6f

Please sign in to comment.