keyvault

package
v0.11.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const PluginInterface = secrets.PluginInterface + ".azure.keyvault"
View Source
const (
	SecretKeyName = "secret"
)

Variables

This section is empty.

Functions

func GetCredentials

func GetCredentials(cfg azureconfig.Config, l hclog.Logger) (autorest.Authorizer, error)

GetCredentials gets an authorizer for Azure

func NewPlugin

func NewPlugin(cfg azureconfig.Config) plugin.Plugin

func NewStore

func NewStore(cfg azureconfig.Config, l hclog.Logger) cnabsecrets.Store

Types

type Plugin

type Plugin struct {
	cnabsecrets.Store
	// contains filtered or unexported fields
}

Plugin is the plugin wrapper for accessing secrets from Azure Key Vault.

type Store

type Store struct {
	// contains filtered or unexported fields
}

Store implements the backing store for secrets in azure key vault.

func (*Store) Connect

func (s *Store) Connect() error

func (*Store) Resolve

func (s *Store) Resolve(keyName string, keyValue string) (string, error)

Jump to

Keyboard shortcuts

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