feat(tenancy): sealed secrets of a tenant #64
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
qa:preview
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
quatrain/core!64
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/63-tenant-secrets"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #63 — stacked on #66 (reversible
HashProperty): merge #66 first; until then this diff also shows its commits.HashPropertyof@quatrain/core(AES-256-GCM), bound to their tenant and name. The package carries no cipher of its own.TenantSecretmodel (collectiontenant_secrets) andTenantSecretRepository: stored through any backend adapter; the record only holds the sealed text.TenantSecretStoreInterfaceandInMemoryTenantSecretStore.TenantSecrets: set, get, has, names, delete; key given to the service or set withHashProperty.setDefaultKey().SecretUnreadableError: never carries the value.Tests: 10 passing, on the in-memory store and on the repository over SQLite.
🤖 Generated with Claude Code