keyvault

package
v5.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyVaultClient

type KeyVaultClient interface {
	GetSecret(ctx context.Context, vaultBaseURL string, secretName string, secretVersion string) (result keyvault.SecretBundle, err error)
	ImportCertificate(ctx context.Context, vaultBaseURL string, certificateName string, parameters keyvault.CertificateImportParameters) (result keyvault.CertificateBundle, err error)
}

func NewKeyVaultClient

func NewKeyVaultClient(ctx context.Context, log *logrus.Entry, authorizer autorest.Authorizer) KeyVaultClient

NewKeyVaultClient gets a new client for accessing vault values. Important: the authorizer supplied must have its resource set to "https://vault.azure.net"

Jump to

Keyboard shortcuts

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