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
This commit is contained in:
Michael Golowka
2020-02-13 15:54:00 -07:00
committed by GitHub
parent 33a7011e99
commit f96f4eebfc
10 changed files with 809 additions and 63 deletions

View File

@@ -4,7 +4,7 @@ import "go.mongodb.org/mongo-driver/mongo/writeconcern"
type createUserCommand struct {
Username string `bson:"createUser"`
Password string `bson:"pwd"`
Password string `bson:"pwd,omitempty"`
Roles []interface{} `bson:"roles"`
}