hashicorp / terraform-provider-vault

Terraform Vault provider
https://www.terraform.io/docs/providers/vault/
Mozilla Public License 2.0
457 stars 536 forks source link

[Enhancement]: Allow for other key types in vault_ssh_secret_backend_ca #2135

Open c0deaddict opened 7 months ago

c0deaddict commented 7 months ago

Description

When creating a SSH CA key with generate_signing_key it is not possible to specify the key_type and key_bits parameters. The Vault documentation says that these parameters are supported: https://developer.hashicorp.com/vault/api-docs/secret/ssh#submit-ca-information

resource "vault_ssh_secret_backend_ca" "ssh_host_signer_ca" {
  backend              = vault_mount.ssh_host_signer.path
  generate_signing_key = true
}

Affected Resource(s) and/or Data Source(s)

No response

Potential Terraform Configuration

No response

References

No response

Would you like to implement a fix?

None

kwohlfahrt commented 5 months ago

This is a duplicate of #1700, which has a PR in #1757 (but that has been waiting for over a year).