feat(api): give status page servers sealed key-value storage
Certificates and ACME keys are stored encrypted in the database, namespaced per owner so an organization's servers cannot read platform or other organizations' keys. Locks live in Redis and expire. Refs #22 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
1 parent
f52ae33cf0
commit
46f1f82481
11 files changed
+611
-1
No files matched your search
@@ -23,6 +23,13 @@ type Agent struct {
|
||||
RegionID *uuid.UUID
|
||||
}
|
||||
|
||||
type AgentStorage struct {
|
||||
Owner string
|
||||
Key string
|
||||
Value []byte
|
||||
Modified time.Time
|
||||
}
|
||||
|
||||
type ApiToken struct {
|
||||
ID uuid.UUID
|
||||
OrgID uuid.UUID
|
||||
|
||||
Reference in new issue
Block a user