azure

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CredentialsKeyClientID           = "clientId"
	CredentialsKeyClientSecret       = "clientSecret"
	CredentialsKeyTenantID           = "tenantId"
	CredentialsKeyClientCert         = "clientCertificate"
	CredentialsKeyClientCertPass     = "clientCertificatePassword"
	CredentialsKeyFederatedTokenFile = "federatedTokenFile"
	CredentialsKeyAuthorityHost      = "authorityHost"
	CredentialsKeyServerID           = "serverId"
)

Credentials Secret content is a json whose keys are below.

Variables

This section is empty.

Functions

func WrapRESTConfig

func WrapRESTConfig(_ context.Context, rc *rest.Config, credentials []byte, identityType kconfig.IdentityType, _ ...string) error

WrapRESTConfig configures the supplied REST config to use OAuth2 bearer tokens fetched using the supplied Azure Credentials.

Types

This section is empty.

Jump to

Keyboard shortcuts

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