terraform-provider-vault icon indicating copy to clipboard operation
terraform-provider-vault copied to clipboard

Support for ca_pem and client_auth/client_pem+key_pem arguments

Open imcitius opened this issue 4 years ago • 2 comments

Hi All,

Both terraform-provider-consul and terraform-provider-nomad supports ca_pem/cert_pem+key_pem arguments for tls client auth allowing to pass those secrets directly from data sources. But terraform-provider-vault lacks this support, and has only the ca_cert_file and client_auth/cert_file+key_file, thus using of intermediate files on disk is mandatory.

Is it not possible to support *_pem arguments, or this is some security concern? May this feature be implemened?

Thanks.

imcitius avatar Feb 08 '21 21:02 imcitius

Same issue. I must write the data from my gcloud resource that contains the CA cert to disk and provide the file path instead of just directly referencing the output from that resource.

oinkbark avatar Feb 11 '21 23:02 oinkbark

Is there any update on this issue?

Having to provide an actual file instead of being able to just pass the ca_cert_file as a string means that we have a pointless step to write out the ca chain to disk for our pipeline runners so it can be used by the vault provider

drtbz avatar Mar 17 '22 21:03 drtbz