Check if a key is software or HSM protected

Check if a key is software or HSM protected

Q. How can I check if my key in Azure Key Vault is software or HSM protected?

A. To check if a key is software or HSM protected use the following PowerShell:

PS C:\> (Get-AzureKeyVaultKey –VaultName 'SavillVault' -Name JohnKeySoft).key.Kty
RSA

PS C:\> (Get-AzureKeyVaultKey –VaultName 'SavillVault' -Name JohnKeyHSM).key.Kty
RSA-HSM

 

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish