Add resource secret epoch metadata

This commit is contained in:
Eric Wendland 2026-05-16 22:18:49 +02:00
commit a05112e6a2
12 changed files with 287 additions and 13 deletions

View file

@ -4,6 +4,7 @@ use geth_document::DocumentResource;
use geth_keychain::KeychainOp;
use geth_kv::{KvEntry, KvResource};
use geth_resource::ResourceDescriptor;
use geth_secrets::ResourceMasterSecret;
use geth_ssh_identity::{
SshCertApproval, SshCertRequest, SshCertificateRecord, SshRevocationEntry,
};
@ -48,6 +49,13 @@ pub enum ControlRequest {
admin_key_path: Option<PathBuf>,
},
KeychainStatus,
SecretStatus,
SecretCreate {
resource: String,
},
SecretRotate {
resource: String,
},
AuthExplain {
subject: String,
resource: String,
@ -167,6 +175,12 @@ pub enum ControlResponse {
KeychainInitialized {
ops: Vec<KeychainOp>,
},
SecretStatus {
secrets: Vec<ResourceMasterSecret>,
},
SecretCreated {
secret: ResourceMasterSecret,
},
AuthExplain(AuthExplanation),
AuthOpRecorded {
op: AuthOp,