secretsmanager

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadCredentialsSecret added in v1.0.1

func LoadCredentialsSecret(rClient client.Client, config *v1alpha1.AppConfig, cloudCredNS string) (*corev1.Secret, error)

LoadCredentialsSecret loads the credential secret data from the Kubernetes secret

Types

type SecretManager added in v1.0.1

type SecretManager interface {
	EnsureSecret(ctx context.Context, secretName string, value []byte) error
	LoadSecret(ctx context.Context, secretName string) ([]byte, error)
	CloseClient()
}

SecretManager interface for adding or loading secret manager secrets

func NewSecretManager added in v1.0.1

func NewSecretManager(ctx context.Context, instance *v1alpha1.SecretAgentConfiguration, cloudCredNS string, rClient client.Client) (SecretManager, error)

NewSecretManager creates a new SecretManager object

Jump to

Keyboard shortcuts

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