diff --git a/azurerm/internal/services/keyvault/key_vault_certificate_resource.go b/azurerm/internal/services/keyvault/key_vault_certificate_resource.go index 92a413e30579..a04fb09112cc 100644 --- a/azurerm/internal/services/keyvault/key_vault_certificate_resource.go +++ b/azurerm/internal/services/keyvault/key_vault_certificate_resource.go @@ -137,6 +137,7 @@ func resourceArmKeyVaultCertificate() *schema.Resource { ForceNew: true, ValidateFunc: validation.IntInSlice([]int{ 2048, + 3072, 4096, }), }, diff --git a/website/docs/r/key_vault_certificate.html.markdown b/website/docs/r/key_vault_certificate.html.markdown index 9fc5543b543d..586828e2a714 100644 --- a/website/docs/r/key_vault_certificate.html.markdown +++ b/website/docs/r/key_vault_certificate.html.markdown @@ -281,7 +281,7 @@ The following arguments are supported: `key_properties` supports the following: * `exportable` - (Required) Is this Certificate Exportable? Changing this forces a new resource to be created. -* `key_size` - (Required) The size of the Key used in the Certificate. Possible values include `2048` and `4096`. Changing this forces a new resource to be created. +* `key_size` - (Required) The size of the Key used in the Certificate. Possible values include `2048`, `3072`, and `4096`. Changing this forces a new resource to be created. * `key_type` - (Required) Specifies the Type of Key, such as `RSA`. Changing this forces a new resource to be created. * `reuse_key` - (Required) Is the key reusable? Changing this forces a new resource to be created.