proxy: support certificate authority to verify server (#49)

This commit is contained in:
Michael Barrientos 2019-02-18 09:58:05 -08:00 committed by Bobby DeSimone
parent ede412448a
commit 7b1e832b45
6 changed files with 50 additions and 7 deletions

View file

@ -31,6 +31,10 @@ type Options struct {
OverrideCertificateName string
// Shared secret is used to authenticate a authenticate-client with a authenticate-server.
SharedSecret string
// CA specifies the base64 encoded TLS certificate authority to use.
CA string
// CAFile specifies the TLS certificate authority file to use.
CAFile string
}
// New returns a new authenticate service client. Takes a client implementation name as an argument.