Documentation
¶
Overview ¶
Package secrets implements secrets storage backends
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAWSSecretsManagerService ¶ added in v0.6.0
func NewHashicorpVaultService ¶ added in v0.6.0
Types ¶
type VaultConfig ¶ added in v0.6.0
type VaultConfig struct {
Address string // Vault server address (e.g., http://localhost:8200)
Token string // Vault token for authentication (used when AuthMethod=="token")
SecretPrefix string // Path prefix for secrets (e.g., "secrets/builder-hub")
MountPath string // Vault KV v2 mount path (e.g., "secret", defaults to "secret")
AuthMethod string // "token" (default) or "kubernetes"
Role string // Role name for Kubernetes auth (required if AuthMethod=="kubernetes")
Jwt string // ServiceAccount JWT for Kubernetes auth (required if AuthMethod=="kubernetes")
}
Click to show internal directories.
Click to hide internal directories.