cyrilgdn / terraform-provider-postgresql

Terraform PostgreSQL provider
https://www.terraform.io/docs/providers/postgresql/
Mozilla Public License 2.0
356 stars 181 forks source link

feat: Allow for inlining client cert #342

Closed vr closed 9 months ago

vr commented 10 months ago

It is useful when you are using Google Cloud SQL and don't want to be forced to use temporary files to load certificate

vr commented 10 months ago

This should fix #253

vr commented 10 months ago

May i ask @kylejohnson to look at this ? 🙏

kylejohnson commented 10 months ago

If I am understanding this correctly, when setting sslinline = true, the values of clientcert.cert and clientcert.key are read directly from their set value? e.g.:

sslinline = true
clientcert {
  cert = "certvalue"
  key  = "keyvalue"
}
cyrilgdn commented 9 months ago

Released in v1.21.0