get_all_groups

Function get_all_groups 

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

Return every HSM group in the system, regardless of access.

Used by CLI commands that need to display the full set of group names (e.g. when prompting the operator to pick one to set as default). Backs the GET /api/v1/groups/all endpoint.