azure: support deriving credentials from client id, client secret and provider url (#1300)

This commit is contained in:
Caleb Doxsey 2020-08-18 10:17:28 -06:00 committed by GitHub
parent 882b6b54ee
commit c4c8ef8e53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 104 additions and 13 deletions

2
cache/cache.go vendored
View file

@ -129,6 +129,8 @@ func (c *Cache) update(cfg *config.Config) error {
Provider: cfg.Options.Provider,
ProviderURL: cfg.Options.ProviderURL,
QPS: cfg.Options.QPS,
ClientID: cfg.Options.ClientID,
ClientSecret: cfg.Options.ClientSecret,
})
dataBrokerClient := databroker.NewDataBrokerServiceClient(c.localGRPCConnection)