Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultListenAddr is the default SIP listen address. DefaultListenAddr = "0.0.0.0:4096" // DefaultSecretProbeInterval bounds how often Secret runtime status is refreshed. DefaultSecretProbeInterval = 2 * time.Minute )
View Source
const (
// PlaceholderPrefix marks an env secret reference in proxied requests.
PlaceholderPrefix = "agentz:resolve:env:"
)
Variables ¶
This section is empty.
Functions ¶
func ParseSecretHosts ¶
ParseSecretHosts validates secret hosts and returns stable values.
func SecretHostMatches ¶
SecretHostMatches reports whether a CONNECT destination matches any canonical secret host.
Types ¶
type Config ¶
type Config struct {
Addr string
OpenBaoAddr string
OpenBaoSecretMountPath string
OpenBaoK8sAuthRole string
OpenBaoK8sAuthMountPath string
OpenBaoK8sAuthTokenPath string
AgentName string
CACertPath string
CAKeyPath string
SecretProbeInterval time.Duration
Verbose bool
}
Config describes how to start the secret injection proxy.
Click to show internal directories.
Click to hide internal directories.