Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EnvVarResolver ¶
type EnvVarResolver struct{}
EnvVarResolver resolves environment variable secrets (e.g., ${VAR} or $VAR)
type PlainTextResolver ¶
type PlainTextResolver struct{}
PlainTextResolver resolves plain text secrets (returns the value as-is) Only handles values that don't match environment variable patterns
type SecretResolver ¶
type SecretResolver interface {
// Resolve takes a secret value and returns the resolved secret or an error
// Implementations should only return an error if the value is invalid.
// When it does not return an error and an empty string is returned, the secret is marked as not being
// handled by this resolver.
Resolve(value string) (resolvedValue string, err error)
}
SecretResolver interface defines the method for resolving secrets
type VaultSecretResolver ¶
type VaultSecretResolver struct {
}
VaultSecretResolver resolves secrets from HashiCorp Vault using the "vault://<path>#<field>" URI scheme.
Click to show internal directories.
Click to hide internal directories.