clusterauthorizer

package
v0.0.0-...-823d357 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

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

type Credentials struct {
	ClientID     []byte
	ClientSecret []byte
	TenantID     []byte
}

func AzCredentials

func AzCredentials(ctx context.Context, kubernetescli kubernetes.Interface) (*Credentials, error)

AzCredentials gets Cluster Service Principal credentials from the Kubernetes secrets

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL