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

This commit is contained in:
Caleb Doxsey 2020-08-18 10:41:21 -06:00 committed by GitHub
parent 95f9e94bea
commit 26c05e5436
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 108 additions and 5 deletions

View file

@ -48,3 +48,13 @@ func GetUser(ctx context.Context, client databroker.DataBrokerServiceClient, use
}
return &u, nil
}
// Options are directory provider options.
type Options struct {
ServiceAccount string
Provider string
ProviderURL string
ClientID string
ClientSecret string
QPS float64
}