Skip to content

Commit

Permalink
Fix Key Vault live tests (Azure#30840)
Browse files Browse the repository at this point in the history
  • Loading branch information
heaths authored Aug 30, 2022
1 parent 12a7807 commit 50185be
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,6 @@ public async Task ReleaseUpdatedKey()
KeyVaultKey key = await Client.CreateRsaKeyAsync(options);
RegisterForCleanup(key.Name);

// Managed HSM and Key Vault return different values by default.
if (IsManagedHSM)
{
Assert.IsFalse(key.Properties.Exportable);
}
else
{
Assert.IsNull(key.Properties.Exportable);
}

KeyProperties keyProperties = new(key.Id)
{
Exportable = true,
Expand Down

0 comments on commit 50185be

Please sign in to comment.