terraform/builtin/providers/tls
Martin Atkins 25bd43d6f4 Export public keys from tls_private_key
In most cases private keys are used to produce certs and cert requests,
but there are some less-common cases where the PEM-formatted keypair is
used alone. The public_key_pem attribute supports such cases.

This also includes a public_key_openssh attribute, which allows this
resource to be used to generate temporary OpenSSH credentials, so that
e.g. a Terraform configuration could generate its own keypair to use
with the aws_key_pair resource. This has the same caveats as all cases
where we generate private keys in Terraform, but could be useful for
temporary/throwaway environments where the state either doesn't live for
long or is stored securely.

This builds on work started by Simarpreet Singh in #4441 .
2016-01-16 17:30:48 -08:00
..
provider.go provider/tls: add locally signed certificates 2015-11-15 20:23:40 -05:00
provider_test.go provider/tls: add locally signed certificates 2015-11-15 20:23:40 -05:00
resource_cert_request.go provider/tls: add locally signed certificates 2015-11-15 20:23:40 -05:00
resource_cert_request_test.go tls provider 2015-10-22 21:48:32 -07:00
resource_certificate.go provider/tls: add locally signed certificates 2015-11-15 20:23:40 -05:00
resource_locally_signed_cert.go provider/tls: add locally signed certificates 2015-11-15 20:23:40 -05:00
resource_locally_signed_cert_test.go provider/tls: add locally signed certificates 2015-11-15 20:23:40 -05:00
resource_private_key.go Export public keys from tls_private_key 2016-01-16 17:30:48 -08:00
resource_private_key_test.go Export public keys from tls_private_key 2016-01-16 17:30:48 -08:00
resource_self_signed_cert.go provider/tls: add locally signed certificates 2015-11-15 20:23:40 -05:00
resource_self_signed_cert_test.go tls provider 2015-10-22 21:48:32 -07:00
util.go provider/tls: add locally signed certificates 2015-11-15 20:23:40 -05:00