Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client resolves opaque BaseHarbor credential references from an OpenBao KV v2 mount. The ref is treated as a relative KV path. Scope is reserved for future policy/routing decisions and is deliberately not interpolated into the secret path.
func NewWithHTTPClient ¶
NewWithHTTPClient exists for tests and controlled transports. The provided client is used as-is; callers remain responsible for secure TLS configuration.
type Config ¶
type Config struct {
Address string `json:"address"`
Token string `json:"-"`
Namespace string `json:"namespace,omitempty"`
Mount string `json:"mount"`
Timeout time.Duration `json:"timeout,omitempty"`
}
Config contains the minimum information required by the OpenBao credential adapter. Token is intentionally excluded from JSON and must never be logged.
Click to show internal directories.
Click to hide internal directories.