pub async fn handle_user_create(
credentials_dir: &Path,
username: &str,
role: &str,
no_role: bool,
generate: bool,
key: Option<&str>,
ssh: Option<&str>,
) -> Result<()>Expand description
Handle user create <username> [--role] [--generate|--key|--ssh] [--no-role].
One-command enrollment (#439): generates (default) or adopts a signing key,
installs it as the client’s actual signing key, registers the user record,
binds the derived public key, and grants a role — collapsing the multi-step
dance whose partial failure silently authenticates as anonymous.