Handle auth files with BearerToken sections.

This commit is contained in:
Eric Tune
2014-10-20 13:49:24 -07:00
parent 71c6f8ee5c
commit 21dae01005
6 changed files with 39 additions and 14 deletions

View File

@@ -88,6 +88,7 @@ func loadClientOrDie() *client.Client {
config.CAFile = auth.CAFile
config.CertFile = auth.CertFile
config.KeyFile = auth.KeyFile
config.BearerToken = auth.BearerToken
if auth.Insecure != nil {
config.Insecure = *auth.Insecure
}