vault

package
v0.9.16 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 45 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVaultClient added in v0.7.3

func NewVaultClient(config *vault.Config) (util.Client, error)

NewVaultClient returns a new Vault client.

Types

type Provider added in v0.9.12

type Provider struct {
	// NewVaultClient is a function that returns a new Vault client.
	// This is used for testing to inject a fake client.
	NewVaultClient func(config *vault.Config) (util.Client, error)
}

func (*Provider) Capabilities added in v0.9.12

func (p *Provider) Capabilities() esv1beta1.SecretStoreCapabilities

Capabilities return the provider supported capabilities (ReadOnly, WriteOnly, ReadWrite).

func (*Provider) NewClient added in v0.9.12

func (p *Provider) NewClient(ctx context.Context, store esv1beta1.GenericStore, kube kclient.Client, namespace string) (esv1beta1.SecretsClient, error)

NewClient implements the Client interface.

func (*Provider) NewGeneratorClient added in v0.9.12

func (p *Provider) NewGeneratorClient(ctx context.Context, kube kclient.Client, corev1 typedcorev1.CoreV1Interface, vaultSpec *esv1beta1.VaultProvider, namespace string) (util.Client, error)

func (*Provider) ValidateStore added in v0.9.12

func (p *Provider) ValidateStore(store esv1beta1.GenericStore) (admission.Warnings, error)

Directories

Path Synopsis
Mostly sourced from ~/external-secrets/pkg/provider/aws/auth
Mostly sourced from ~/external-secrets/pkg/provider/aws/auth

Jump to

Keyboard shortcuts

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