1
2
3
4
5
6
7
8
9
10
11
12
13
pub mod api;

pub trait AccessControl {
    fn list_signing_keys(&self) -> Result<serde_json::Value, crate::errors::Error>;
    fn create_signing_key(
        &self,
        name: String,
    ) -> Result<serde_json::Value, crate::errors::Error>;
    fn delete_signing_key(
        &self,
        id: String,
    ) -> Result<serde_json::Value, crate::errors::Error>;
}