secrets-sync 0.1.1

secret-sync, a rusty program
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::collections::{HashMap, HashSet};
use eyre::Result;

pub mod doppler;
pub mod flyio;


pub trait SecretProvider {
    fn get_keys(&self) -> Result<HashSet<String>>;
    fn get_all(&self) -> Result<HashMap<String, String>>;
    fn set_all(&self, secrets: &HashMap<String, String>) -> Result<()>;
    fn remove_keys(&self) -> Result<()>;
}