Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAzRefreshableAuthorizer ¶
func NewAzRefreshableAuthorizer(token *adal.ServicePrincipalToken) (refreshable.Authorizer, error)
NewAzRefreshableAuthorizer returns a new refreshable authorizer based on an auth token (see GetToken in /pkg/util/aad)
Types ¶
type Credentials ¶
func AzCredentials ¶
func AzCredentials(ctx context.Context, kubernetescli kubernetes.Interface) (*Credentials, error)
AzCredentials gets Cluster Service Principal credentials from the Kubernetes secrets
Click to show internal directories.
Click to hide internal directories.