kanidm_ssh_authorizedkeys_direct/opt/
ssh_authorizedkeys.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
#[derive(Debug, Parser)]
#[command(version)]
pub(crate) struct SshAuthorizedOpt {
    #[clap(short, long = "debug")]
    debug: bool,
    #[clap(short = 'H', long = "url")]
    addr: Option<String>,
    #[clap(short = 'D', long = "name")]
    username: String,
    #[clap(value_parser, short = 'C', long = "ca")]
    ca_path: Option<PathBuf>,
    account_id: String,
}