Not using specified minimum key size for Azure Key Vault Certificate keys may lead to data leak.
Certificate key sizes cannot be altered once they are created. To create a new certificate with a more secure key size, follow the steps below.
In Azure Console -
In Terraform -
References:
https://learn.microsoft.com/en-us/azure/key-vault/general/overview
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_certificate#key_properties