Skip to content

v0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 21 Nov 17:19

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-222222222222

prints 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 app and az ad sp: create, list, show, update, delete, credential reset.
  • az role assignment create --assignee <appId> finds the principal by its id, and az role assignment list -o table names principals instead of leaving the column blank.
  • Secrets are shown once and stored as PBKDF2 hashes; everything survives restarts.
  • The identities in armite.yaml stay 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 install puts a pinned Azurite in Armite's cache using the npm on your machine; the server and armite doctor find it with no PATH changes, and armite reset leaves it alone.
  • Role assignments take principalType from the directory, and a stated type that disagrees is UnmatchedPrincipalType, 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

  1. One new hostname. With a hosts file, add 127.0.0.1 graph.localhost (armite hosts prints it, armite doctor checks it). With a wildcard resolver for *.localhost there is nothing to do.
  2. Register the cloud in az again, so az learns the Graph endpoint: the az cloud unregister / register / set lines from Getting started, then az 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.0

Archives 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