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

feat: support tls_ca and tls_certificate_key for mongodb connections

Open cyrus-mc opened this issue 5 years ago • 3 comments

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" comments, they generate extra noise for pull request followers and do not help prioritize the request

Add TLS options to MongoDB database connection to allow verification of certificate as well as client auth. This is in line with the CLI options .


Add `tls_ca` and `tls_certificate_key` fields to `vault_database_secret_backend_connection` for `mongodb` connections. 

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccXXX'

- WIP
...

cyrus-mc avatar Jul 19 '20 17:07 cyrus-mc

Is this PR dead or alive? I'd like to add similar functionality for MySQL, given Vault 1.5.0 supports mTLS for MySQL https://github.com/hashicorp/vault/pull/9181 now.

If it's not being worked on we'd like to take this as a base, add MySQL stuff and fix tests.

cc @cyrus-mc

martinssipenko avatar Aug 13 '20 10:08 martinssipenko

CLA assistant check
All committers have signed the CLA.

hashicorp-cla avatar Mar 12 '22 17:03 hashicorp-cla

Closed with #1146

benashz avatar May 04 '22 12:05 benashz

@cyrus-mc Hi, are you still interested in carrying this forward?

fairclothjm avatar May 18 '23 16:05 fairclothjm