hashicorp / terraform-provider-tls

Utility provider that works with Transport Layer Security keys and certificates. It provides resources that allow private keys, certificates and certficate requests to be created as part of a Terraform deployment.
https://registry.terraform.io/providers/hashicorp/tls/latest
Mozilla Public License 2.0
184 stars 102 forks source link

Clarify OpenSSH public key format #530

Open Kobaxidze256 opened 3 months ago

Kobaxidze256 commented 3 months ago

Terraform CLI and Provider Versions

OpenTofu v1.7.0 on linux_amd64

Use Cases or Problem Statement

I wanna be able to insert the stringhttps://registry.terraform.io/providers/hashicorp/tls/latest/docs/resources/private_key#public_key_openssh into a known_hosts file.

Proposal

Could you explicitly specify in the docshttps://registry.terraform.io/providers/hashicorp/tls/latest/docs/resources/private_key#public_key_openssh that it should work for both types of file formats? ("Authorized Keys" and known_hosts)

How much impact is this issue causing?

Medium

Additional Information

No response

Code of Conduct