Add client auth plugin for Azure Active Directory

This plugin acquires a fresh access token for apiserver from Azure Active
Directory using the device code flow. The access token is saved in the
configuration in order to be reused for upcomming accesses to appiserver.
In additon the access token is automatically refreshed when expired.
This commit is contained in:
Cosmin Cojocar
2017-04-03 09:56:27 +02:00
parent 9afeabb642
commit 682d5ec01f
8 changed files with 582 additions and 0 deletions

View File

@@ -379,6 +379,7 @@ staging/src/k8s.io/client-go/listers/settings/v1alpha1
staging/src/k8s.io/client-go/listers/storage/v1
staging/src/k8s.io/client-go/listers/storage/v1beta1
staging/src/k8s.io/client-go/plugin/pkg/client/auth
staging/src/k8s.io/client-go/plugin/pkg/client/auth/azure
staging/src/k8s.io/client-go/plugin/pkg/client/auth/gcp
staging/src/k8s.io/client-go/rest/watch
staging/src/k8s.io/client-go/tools/auth