open-vault/plugins/database/mongodb
Michael Golowka 635b957e76
Add x509 Client Auth to MongoDB Database Plugin (#8329)
* Mark deprecated plugins as deprecated

* Add redaction capability to database plugins

* Add x509 client auth

* Update vendored files

* Add integration test for x509 client auth

* Remove redaction logic pending further discussion

* Update vendored files

* Minor updates from code review

* Updated docs with x509 client auth

* Roles are required

* Disable x509 test because it doesn't work in CircleCI

* Add timeouts for container lifetime
2020-02-13 15:54:00 -07:00
..
mongodb-database-plugin
cert_helpers_test.go Add x509 Client Auth to MongoDB Database Plugin (#8329) 2020-02-13 15:54:00 -07:00
connection_producer.go Add x509 Client Auth to MongoDB Database Plugin (#8329) 2020-02-13 15:54:00 -07:00
connection_producer_test.go Add x509 Client Auth to MongoDB Database Plugin (#8329) 2020-02-13 15:54:00 -07:00
mongodb.go Mongodb driver switch to mongo-driver (#8140) 2020-01-24 09:32:47 +01:00
mongodb_test.go Add x509 Client Auth to MongoDB Database Plugin (#8329) 2020-02-13 15:54:00 -07:00
README.md Add x509 Client Auth to MongoDB Database Plugin (#8329) 2020-02-13 15:54:00 -07:00
util.go Add x509 Client Auth to MongoDB Database Plugin (#8329) 2020-02-13 15:54:00 -07:00

MongoDB Tests

The test TestInit_clientTLS cannot be run within CircleCI in its current form. This is because it's not possible to use volume mounting with the docker executor.

Because of this, the test is skipped. Running this locally shouldn't present any issues as long as you have docker set up to allow volume mounting from this directory:

go test -v -run Init_clientTLS

This may be able to be fixed if we mess with the entrypoint or the command arguments.