cache-vault 0.1.3

Caching secret values to SQLite with encryption
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// use chrono::{DateTime, Utc};
// use std::collections::HashMap;

// #[derive(Debug, Default)]
// pub struct VaultEntry {
//     pub namespace: String,
//     pub key_name: String,
//     pub plaintext: String,
//     pub attributes: HashMap<String, String>,
//     pub expired_at: Option<DateTime<Utc>>,
// }

// impl VaultEntry {
//     pub fn save(&self) -> Result<()> {
//         todo!()
//     }
// }