Documentation
¶
Index ¶
Constants ¶
const BindingID = "secret_guard"
BindingID is the stable host binding identity for secret guard host composition.
Variables ¶
var ErrNilBinding = errors.New("secretguardhost: binding is nil")
ErrNilBinding is returned when a secretguardhost binding is nil.
Functions ¶
This section is empty.
Types ¶
type Binding ¶
type Binding struct {
Environment Environment
SingleUser SingleUserOptions
}
Binding envelopes host-provided secret-guard configuration for standard featurehost composition. It implements featurehost.Binding.
func (*Binding) HostBindingID ¶
HostBindingID returns the stable identifier for secret guard host bindings.
func (*Binding) Registration ¶
func (b *Binding) Registration() featurehost.Registration
Registration returns a featurehost.Registration wrapping this binding.
func (*Binding) ValidateHostBinding ¶
ValidateHostBinding checks the host binding configuration.
type Environment ¶
Environment provides environment variable access for secret catalog loading.
type MatcherOptions ¶
MatcherOptions controls redaction presentation for the composed static matcher.
type SingleUserOptions ¶
type SingleUserOptions struct {
IncludePopularEnv bool
IncludeEnv []string
ExcludeEnv []string
MinSecretBytes int
Matcher MatcherOptions
MatcherConfigured bool
}
SingleUserOptions configures single-user catalog and matcher options.