jwtvault 0.7.0

Highly flexible library to manage and orchestrate JWT workflow
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::process::Command;

fn main() {
    let store = "store";
    let _ = if cfg!(unix) {
        Command::new("sh")
            .arg("generate_certificates.sh")
            .arg(store)
            .output()
            .expect("failed to execute process");
    } else {
        Command::new("cmd")
            .args(&["./generate_certificates.sh", store])
            .output()
            .expect("failed to execute process");
    };
}