Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
arm-emulator
command
Command arm-emulator runs the Azure Resource Manager control-plane emulator: subscriptions, resource groups, and Microsoft.Authorization role definitions and assignments, with ARM-audience bearer tokens validated against an Entra issuer (entra-emulator or a real tenant).
|
Command arm-emulator runs the Azure Resource Manager control-plane emulator: subscriptions, resource groups, and Microsoft.Authorization role definitions and assignments, with ARM-audience bearer tokens validated against an Entra issuer (entra-emulator or a real tenant). |
|
internal
|
|
|
abac
Package abac implements Azure's attribute-based access control conditions: the `condition` string a role assignment carries, in the version 2.0 language documented at learn.microsoft.com/azure/role-based-access-control/conditions-format.
|
Package abac implements Azure's attribute-based access control conditions: the `condition` string a role assignment carries, in the version 2.0 language documented at learn.microsoft.com/azure/role-based-access-control/conditions-format. |
|
arm
Package arm serves the Azure Resource Manager control plane: the resource-ID grammar, the ARM error envelope, api-version validation, ARM-audience token validation, and the providers the emulator family needs — Microsoft.Resources (subscriptions, resource groups) and Microsoft.Authorization (role definitions, role assignments).
|
Package arm serves the Azure Resource Manager control plane: the resource-ID grammar, the ARM error envelope, api-version validation, ARM-audience token validation, and the providers the emulator family needs — Microsoft.Resources (subscriptions, resource groups) and Microsoft.Authorization (role definitions, role assignments). |
|
auth
Package auth validates Entra bearer tokens the way real ARM does: signature against the issuer's JWKS, issuer match, the ARM audience, and expiry — with expiry checked against the emulator's controllable clock so token-lifetime scenarios are testable.
|
Package auth validates Entra bearer tokens the way real ARM does: signature against the issuer's JWKS, issuer match, the ARM audience, and expiry — with expiry checked against the emulator's controllable clock so token-lifetime scenarios are testable. |
|
clock
Package clock provides the emulator's controllable time source.
|
Package clock provides the emulator's controllable time source. |
|
config
Package config resolves runtime configuration from ARM_* environment variables with flag overrides applied by cmd.
|
Package config resolves runtime configuration from ARM_* environment variables with flag overrides applied by cmd. |
|
server
Package server wires the emulator: the ARM surface, the family feed, the /_emulator control surface (clock + faults), and health.
|
Package server wires the emulator: the ARM surface, the family feed, the /_emulator control surface (clock + faults), and health. |
|
store
Package store is the persistence layer: pure-Go SQLite holding resource groups, role assignments, and (from P1) tracked resources.
|
Package store is the persistence layer: pure-Go SQLite holding resource groups, role assignments, and (from P1) tracked resources. |
|
tlscert
Package tlscert generates the emulator's self-signed TLS certificate (localhost + the Key Vault wildcard), persisted under dataDir/tls when a data directory is configured so the fingerprint stays stable across runs.
|
Package tlscert generates the emulator's self-signed TLS certificate (localhost + the Key Vault wildcard), persisted under dataDir/tls when a data directory is configured so the fingerprint stays stable across runs. |
Click to show internal directories.
Click to hide internal directories.