cosmian_kms_cli 5.19.0

Command Line Interface used to manage the KMS server If any assistance is needed, please either visit the Cosmian technical documentation at https://docs.cosmian.com or contact the Cosmian support team on Discord https://discord.com/invite/7kPMNtHpnz
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use test_kms_server::start_default_test_kms_server;

use crate::{
    actions::kms::rsa::keys::create_key_pair::CreateKeyPairAction, error::result::KmsCliResult,
};

#[tokio::test]
pub(crate) async fn test_rsa_create_key_pair() -> KmsCliResult<()> {
    // from specs
    let ctx = start_default_test_kms_server().await;

    CreateKeyPairAction::default()
        .run(ctx.get_owner_client())
        .await?;

    Ok(())
}