Skip to content

Products

GPU CloudNVIDIA H200 by the hour.
Dedicated ClustersPreviewPrivate, interconnected GPU clusters for sustained workloads.
SandboxesPreviewIsolated, short-lived environments for developers and AI agents.
Serverless GPUPreviewGPU containers that scale with requests, down to zero.
Serverless InferenceOpen models behind one OpenAI-compatible endpoint.
Dedicated EndpointsReserved serving capacity for one model, billed per GPU-hour.
PlaygroundSend a prompt to any model your workspace can reach.
Model DeploymentsPreviewImmutable deployments with instant promote and rollback.
Fine-tuningLoRA fine-tunes on the open models in our catalog.
Model TrainingPreviewFoundation-model training runs, managed end to end.
EvaluationsPreviewBenchmark suites and model comparisons you can rerun.
DatasetsManaged and synthetic training data, versioned and ready to use.
Data ManagementPreviewDatasets, connections and storage, with lineage across the platform.
PipelinesPreviewVersioned DAGs that automate data, training and deployment.
Data RoomsPreviewSecure document sharing with guests, NDAs and an audit trail.
NokuvaPreviewThe AI-native design editor.
TavocPreviewA Rust-native code platform: IDE and desktop apps.
FoltracComing soonMulti-cloud deployment with autonomous operations.
W0rkTreeComing soonVersion control for agent fleets.
Identity & AccessMembers, roles, policies, SSO and audit for every workspace.
Billing & CostUsage, invoices, credits and budgets in one place.
Logs & MonitoringRequest logs, latency and error rates across services.
Project CanvasPreviewSee and change a project's resources on one live canvas.

Pages

Home/
Platform/platform
All products/products
Pricing/pricing
GPU pricing/pricing#compute
Inference services/services/inference
Model training services/services/model-training
Protocol design/services/protocol-design
Research partnerships/services/research-partnerships
Protocols/protocols
Datasets/datasets
Documentationdocs.legionedge.ai
Better IAM on GitHubgithub.com/Better-IAM/better-iam
Better Compute on GitHubgithub.com/Better-Compute/better-compute
Better Files on GitHubgithub.com/Better-Files/better-files
W0rkTree on GitHubgithub.com/seanfilimon/worktree
Changelog/changelog
News/news
Research/research
Blog/blog
Articles/articles
Events/events
Startup Program/programs/startup
Ambassador Program/programs/ambassador
Partner Program/programs/partner
Event Program/programs/events
Company/company
Careers/careers
Partners/partners
Contact/contact
Statusstatus.legionedge.ai
Terms of Service/legal/terms
Privacy Policy/legal/privacy

All blog posts

Built on Better IAM

Every LegionEdge organization runs its own identity and access management. Here's the open-source library underneath it, and why we embed it rather than call out to a hosted service.

Category
Engineering
Published
Reading time
2 min
Sections
05
Source
Engineering blog
01

Overview

When we rebuilt LegionEdge Cloud around organizations, every organization got its own identity and access management: members, roles, policies, single sign-on, SCIM, service accounts, keys and the audit log. All of it runs on Better IAM, an open-source TypeScript library we build alongside the platform.

This post explains what Better IAM is, how LegionEdge uses it, and why the same library also sits under our compute and our data rooms.

02

A library, not a service

Better IAM is an embeddable authentication, identity provisioning and access-management platform. You install it from npm, give it your own database (PostgreSQL, SQLite or libSQL), and it runs inside your application. There is no separate identity service to call over the network and no second copy of your users to keep in sync.

It covers the whole identity surface in one place: passwords, magic links, email and SMS codes, TOTP and passkeys; OAuth and OIDC sign-in, SAML SSO and SCIM; roles, groups and versioned JSON policies; just-in-time access with approval; STS-style temporary credentials; and a tamper-evident audit log kept as a per-tenant hash chain. It’s released under Apache-2.0.

03

A tenant tree for the platform

LegionEdge is a tree of Better IAM tenants. The root tenant is LegionEdge itself. Each customer organization is a child of the root, and each organization’s projects, used for environments such as production and staging, are children of the organization.

Each organization’s owner, and the administrators they appoint, manage their own branch of that tree. Guests, the people outside an organization who are invited into a data room, are Better IAM principals too, so they sign in the same way and show up in the same audit log.

04

One decision point for everything

The consoles call Better IAM with the signed-in person’s own credential, so every action is authorized and audited as that person. We wrote about how the IAM console does this in One IAM console, three scopes.

The same holds beyond the IAM dashboard. Better Compute, which places and tracks GPU capacity, and Better Files, which runs Data Rooms, both use Better IAM as their identity provider and policy decision point. A role you grant in your organization means the same thing for an instance as it does for a document, and every decision lands in one audit chain.

05

Use it in your own app

Better IAM is open source and works with Next.js, NestJS, Nuxt, SvelteKit, React Router, Express, Hono and Fastify. The code, guides and runnable examples are on GitHub.

Share

Want the build notes as they happen?

The blog is written by the engineers shipping Nokuva, Tavoc, and Foltrac — deep dives land here as the work does, and the authors answer questions.