Skip to content

Commit

Permalink
azurerm_key_vault_key - remove oct from docs and code (#18608)
Browse files Browse the repository at this point in the history
  • Loading branch information
aristosvo authored Oct 3, 2022
1 parent 5e19eb5 commit 530b207
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions internal/services/keyvault/key_vault_key_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ func resourceKeyVaultKey() *pluginsdk.Resource {
// turns out Azure's *really* sensitive about the casing of these
// issue: https://github.com/Azure/azure-rest-api-specs/issues/1739
ValidateFunc: validation.StringInSlice([]string{
// TODO: add `oct` back in once this is fixed
// https://github.com/Azure/azure-rest-api-specs/issues/1739#issuecomment-332236257
string(keyvault.EC),
string(keyvault.ECHSM),
string(keyvault.RSA),
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/key_vault_key.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ The following arguments are supported:

* `key_vault_id` - (Required) The ID of the Key Vault where the Key should be created. Changing this forces a new resource to be created.

* `key_type` - (Required) Specifies the Key Type to use for this Key Vault Key. Possible values are `EC` (Elliptic Curve), `EC-HSM`, `Oct` (Octet), `RSA` and `RSA-HSM`. Changing this forces a new resource to be created.
* `key_type` - (Required) Specifies the Key Type to use for this Key Vault Key. Possible values are `EC` (Elliptic Curve), `EC-HSM`, `RSA` and `RSA-HSM`. Changing this forces a new resource to be created.

* `key_size` - (Optional) Specifies the Size of the RSA key to create in bytes. For example, 1024 or 2048. *Note*: This field is required if `key_type` is `RSA` or `RSA-HSM`. Changing this forces a new resource to be created.

Expand Down

0 comments on commit 530b207

Please sign in to comment.