Home > OS >  Activation date is not set when a key is rotated through Rotation Policy in Azure Key Vault
Activation date is not set when a key is rotated through Rotation Policy in Azure Key Vault

Time:06-22

I have created a Key in Azure Key Vault with Activation date and Expiration date. Also configured Rotation Policy and enabled auto rotation. Please refer to the attached screenshot.

Key Rotation Policy

When I clicked on "Rotate now", a new version of the key is created but the Activation date is not set. Have a look at the below screen shot.

Key Versions

How to set the activation date when a key is rotated / auto rotated automatically (without manual intervention)? What am I missing here?

Kindly help.

CodePudding user response:

I tried to reproduce the same in my environment and got below results:

I created a key and configured rotation policy with same settings as yours like below:

enter image description here

When I tried to rotate it, even I can see Activation Date as Null like below:

enter image description here

I agree with Thomas that if you are clicking rotate now manually or rotating automatically, the new key will be enabled and active immediately.

So, if you want Activation date you have to manually set it like below:

enter image description here

After setting it manually, Activation Date displayed like below:

enter image description here

  • Related