create_group

Function create_group 

Source
pub async fn create_group(
    infra: &InfraContext<'_>,
    token: &str,
    group: Group,
) -> Result<(), Error>
Expand description

Create the HSM group described by group.

The backend rejects duplicate labels; manta does no pre-check beyond the standard authorization layer applied by the handler.

§Errors

[Error::NetError] / [Error::CsmError] / [Error::Conflict] surfaced verbatim from the backend’s add_group call (the latter when group.label already exists).