keyvault

package
v0.0.0-...-dfea14c Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAzureKeyvaultSecretStore

func NewAzureKeyvaultSecretStore() secretstores.SecretStore

NewAzureKeyvaultSecretStore returns a new Kubernetes secret store

Types

type ClientAuthorizer

type ClientAuthorizer struct {
	*auth.ClientCertificateConfig
	CertificateData []byte
}

ClientAuthorizer provides the options to get a bearer authorizer from a client certificate.

func NewClientAuthorizer

func NewClientAuthorizer(certificatePath string, certificateBytes []byte, certificatePassword string, clientID string, tenantID string) ClientAuthorizer

NewClientAuthorizer creates an ClientAuthorizer object configured to obtain an Authorizer through Client Credentials.

func (ClientAuthorizer) Authorizer

func (c ClientAuthorizer) Authorizer() (autorest.Authorizer, error)

Authorizer gets an authorizer object from client certificate.

func (ClientAuthorizer) ServicePrincipalTokenByCertBytes

func (c ClientAuthorizer) ServicePrincipalTokenByCertBytes() (*adal.ServicePrincipalToken, error)

ServicePrincipalTokenByCertBytes gets the service principal token by CertificateBytes.

Jump to

Keyboard shortcuts

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