pub async fn keygen( expire: Option<Duration>, namespace: String, ) -> MicrosandboxServerResult<String>
Generate a new API key (JWT token)