0

I have a certificate that needs to be deleted. But it is currently assigned out to several Microsoft.Web resources. When the cert was assigned, Microsoft.Web/Certificate resources were created.

My question: When I use the Delete Certificate command, does this delete all the spawned Microsoft.Web/Certificate resources or just the contents of the Key Vault? The documentation does not make it clear as to what happens.

Joy Wang
  • 39,905
  • 3
  • 30
  • 54
Itanex
  • 1,664
  • 21
  • 33
  • When you say "Assigned out to several Microsoft.Web Resources" what exactly does that mean? Per the description of the documentation it says "Deletes a certificate from a specified key vault". – Frank H Jun 14 '19 at 01:36
  • @FrankHuMSFT The documentation says more than just that. Please refer to it. – Itanex Jun 14 '19 at 16:26

1 Answers1

2

No, I test it for you, it will not delete the Microsoft.Web/Certificate resource.

In the resource explorer before deleting the certificate:

enter image description here

In my keyvault before deleting the certificate:

enter image description here

After deleting it, the Microsoft.Web/Certificate is still existing like the first screenshot.

enter image description here

Joy Wang
  • 39,905
  • 3
  • 30
  • 54
  • Joy, you might want to correct that last image to show the azure.resource site instead. That supports your statement better. :) – Itanex Jun 14 '19 at 16:31