Repository navigation
Docs: https://armite.cloud · Install: https://armite.cloud/install
Service principals at runtime
az ad sp create-for-rbac works. Armite now serves the part of Microsoft Graph that creates identities, on https://graph.localhost:8443:
az ad sp create-for-rbac -n my-app --role Reader \
--scopes /subscriptions/22222222-2222-2222-2222-222222222222prints an appId and a password. The new service principal logs in at once, and RBAC treats it like any other: it reads, and a write is a 403 that names its object id and the action. No configuration file edited, no restart, no replication delay.
az ad appandaz ad sp: create, list, show, update, delete,credential reset.az role assignment create --assignee <appId>finds the principal by its id, andaz role assignment list -o tablenames principals instead of leaving the column blank.- Secrets are shown once and stored as PBKDF2 hashes; everything survives restarts.
- The identities in
armite.yamlstay as the bootstrap: Graph can change them, not delete them.
Not yet: users and groups (az ad user create answers "not supported yet"), so az login is still --service-principal or --identity. Every difference from Entra is on the divergences page.
Also since v0.1.3
armite azurite installputs a pinned Azurite in Armite's cache using the npm on your machine; the server andarmite doctorfind it with no PATH changes, andarmite resetleaves it alone.- Role assignments take
principalTypefrom the directory, and a stated type that disagrees isUnmatchedPrincipalType, as in Azure. - Token errors follow Entra's order: unknown application, application without a service principal, disabled, wrong secret.
- Under the hood: the server is assembled in one package and driven by in-process end-to-end tests on Linux, macOS and Windows; CI runs only what a change touches and builds the docs on docs changes.
Upgrading from 0.1
- One new hostname. With a hosts file, add
127.0.0.1 graph.localhost(armite hostsprints it,armite doctorchecks it). With a wildcard resolver for*.localhostthere is nothing to do. - Register the cloud in az again, so az learns the Graph endpoint: the
az cloud unregister/register/setlines from Getting started, thenaz login.
State and identity directories are unchanged; nothing needs migrating.
Install
docker run -d --name armite -p 127.0.0.1:8443:8443 -p 127.0.0.1:8081:8081 -v armite:/data ghcr.io/ioflux-org/armite:0.2.0
go install github.com/ioflux-org/armite/cmd/armite@v0.2.0Archives below for Linux and macOS (amd64, arm64) and Windows (amd64); checksums in armite_0.2.0_checksums.txt. The image is multi-arch with Azurite inside.
Full Changelog: v0.1.3...v0.2.0