MCPcopy
hub / github.com/unkeyed/unkey / Service

Struct Service

svc/vault/internal/vault/service.go:20–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18const LATEST = "LATEST"
19
20type Service struct {
21 keyCache cache.Cache[string, *vaultv1.DataEncryptionKey]
22
23 storage storage.Storage
24
25 decryptionKeys map[string]*vaultv1.KeyEncryptionKey
26 encryptionKey *vaultv1.KeyEncryptionKey
27
28 keyring *keyring.Keyring
29 bearer string
30}
31
32var _ vaultv1connect.VaultServiceHandler = (*Service)(nil)
33

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected