cosmian_kms_cli 5.17.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 cosmian_logger::log_init;
use test_kms_server::start_default_test_kms_server;

use crate::{actions::kms::actions::KmsActions, error::result::KmsCliResult};

#[tokio::test]
pub(super) async fn test_discover_versions() -> KmsCliResult<()> {
    log_init(None);
    let ctx = start_default_test_kms_server().await;

    // Invoke via actions enum path
    KmsActions::DiscoverVersions
        .process(ctx.get_owner_client())
        .await?;

    Ok(())
}