krill 0.9.0

Resource Public Key Infrastructure (RPKI) daemon
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::collections::HashMap;

pub type ConfigAuthUsers = HashMap<String, ConfigUserDetails>;

#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct ConfigUserDetails {
    #[serde(default)]
    pub attributes: HashMap<String, String>,

    // optional so that OpenIDConnectAuthProvider can also use config file user defined attributes
    // without requiring a dummy password hash and salt
    pub password_hash: Option<String>,

    pub salt: Option<String>,
}