Documentation
¶
Overview ¶
Package engine defines secret and PKI engine interfaces (LLD §4).
Index ¶
- type Registry
- func (r *Registry) Get(name string) (SecretEngine, bool)
- func (r *Registry) GetSecret(ctx context.Context, name, path string) (map[string]any, error)
- func (r *Registry) List() []string
- func (r *Registry) Put(ctx context.Context, name, path string, data map[string]any) error
- func (r *Registry) Register(engine SecretEngine)
- type SecretEngine
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry maps engine names to SecretEngine implementations (LLD §4.B.4).
func (*Registry) Get ¶
func (r *Registry) Get(name string) (SecretEngine, bool)
Get returns an engine by name.
func (*Registry) Register ¶
func (r *Registry) Register(engine SecretEngine)
Register adds an engine. Panics on duplicate names during startup wiring.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package pki implements the PKI engine (LLD §4.A).
|
Package pki implements the PKI engine (LLD §4.A). |
|
Package secrets implements the KVv2 secrets engine (LLD §4.B).
|
Package secrets implements the KVv2 secrets engine (LLD §4.B). |
|
cubbyhole
Package cubbyhole implements per-token private KV storage (M-WRAP-1 / W74).
|
Package cubbyhole implements per-token private KV storage (M-WRAP-1 / W74). |
|
database
Package database implements the dynamic database credentials engine (LLD §4.B, Phase 2).
|
Package database implements the dynamic database credentials engine (LLD §4.B, Phase 2). |
|
ssh
Package ssh implements dynamic OpenSSH user certificate credentials (signed-key mode).
|
Package ssh implements dynamic OpenSSH user certificate credentials (signed-key mode). |
|
Package transit implements Encryption-as-a-Service (M-TRANSIT-1).
|
Package transit implements Encryption-as-a-Service (M-TRANSIT-1). |
Click to show internal directories.
Click to hide internal directories.