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), "kubernetes", or "jwt"
AuthMountPath string // Vault auth mount path for Kubernetes/JWT auth (e.g., "k8s/eth-l1-prod"); defaults to "kubernetes" for k8s auth, "jwt" for JWT auth
Role string // Role name for Kubernetes/JWT auth (required if AuthMethod is "kubernetes" or "jwt")
Jwt string // ServiceAccount JWT for Kubernetes/JWT auth (required if AuthMethod is "kubernetes" or "jwt")
}
Click to show internal directories.
Click to hide internal directories.