provider

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface added in v1.3.0

type Interface interface {
	GetSecretsStoreObjectContent(ctx context.Context, attrib, secrets map[string]string, defaultFilePermission os.FileMode) ([]types.SecretFile, error)
}

Provider implements the secrets-store-csi-driver provider interface

func NewProvider

func NewProvider(constructPEMChain, writeCertAndKeyInSeparateFiles bool, defaultCloudEnvironment azure.Environment) Interface

NewProvider creates a new provider

type KeyVault added in v1.5.0

type KeyVault interface {
	GetSecret(ctx context.Context, name, version string) (*azsecrets.SecretBundle, error)
	GetSecretVersions(ctx context.Context, name string) ([]types.KeyVaultObjectVersion, error)
	GetKey(ctx context.Context, name, version string) (*azkeys.KeyBundle, error)
	GetKeyVersions(ctx context.Context, name string) ([]types.KeyVaultObjectVersion, error)
	GetCertificate(ctx context.Context, name, version string) (*azcertificates.CertificateBundle, error)
	GetCertificateVersions(ctx context.Context, name string) ([]types.KeyVaultObjectVersion, error)
}

func NewClient added in v1.5.0

func NewClient(cred azcore.TokenCredential, vaultURI string) (KeyVault, error)

NewClient creates a new KeyVault client

Directories

Path Synopsis
Run go generate to regenerate this mock.
Run go generate to regenerate this mock.
Run go generate to regenerate this mock.
Run go generate to regenerate this mock.

Jump to

Keyboard shortcuts

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