This pull request includes changes to the Scenarios/Secure-Baseline/bicepWithAVM/03-Supporting-Services/modules/key-vault/types.bicep file. The most significant changes involve the restructuring of the keyType and the addition of several new types related to key rotation policy.
Key type restructuring:
Removed curveNameType and ktyType from the global scope and moved them inside keyType. This change ensures that these types are more closely associated with the keyType where they are used.
Addition of new types:
Added rotationPolicyAttributesType to define the attributes for the rotation policy, including the expiry time for the key.
Added lifetimeActionActionType to define the action for a lifetime action, such as 'Rotate' or 'Notify'.
Added lifetimeActionTriggerType to define the trigger for a lifetime action, including the time before expiry to trigger the action.
Added lifetimeActionType to define a single lifetime action, including the action to take and the trigger for the action.
Added rotationPolicyType to define the rotation policy for a key, including the attributes of the rotation policy and the lifetime actions for the rotation policy.
These changes enhance the flexibility and clarity of the key rotation policy by providing more detailed types and better organizing the types related to keyType.
This pull request includes changes to the
Scenarios/Secure-Baseline/bicepWithAVM/03-Supporting-Services/modules/key-vault/types.bicep
file. The most significant changes involve the restructuring of thekeyType
and the addition of several new types related to key rotation policy.Key type restructuring:
curveNameType
andktyType
from the global scope and moved them insidekeyType
. This change ensures that these types are more closely associated with thekeyType
where they are used.Addition of new types:
rotationPolicyAttributesType
to define the attributes for the rotation policy, including the expiry time for the key.lifetimeActionActionType
to define the action for a lifetime action, such as 'Rotate' or 'Notify'.lifetimeActionTriggerType
to define the trigger for a lifetime action, including the time before expiry to trigger the action.lifetimeActionType
to define a single lifetime action, including the action to take and the trigger for the action.rotationPolicyType
to define the rotation policy for a key, including the attributes of the rotation policy and the lifetime actions for the rotation policy.These changes enhance the flexibility and clarity of the key rotation policy by providing more detailed types and better organizing the types related to
keyType
.