Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
azure-keyvault-emulator
command
Command azure-keyvault-emulator runs the Azure Key Vault data-plane emulator.
|
Command azure-keyvault-emulator runs the Azure Key Vault data-plane emulator. |
|
internal
|
|
|
auth
Package auth validates Entra bearer tokens the way real Key Vault does: signature against the issuer's JWKS, issuer match, Fabric audience set, 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 Key Vault does: signature against the issuer's JWKS, issuer match, Fabric audience set, 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 KV_* environment variables with flag overrides applied by cmd.
|
Package config resolves runtime configuration from KV_* environment variables with flag overrides applied by cmd. |
|
server
Package server assembles the emulator: the vault data plane, /health, and the /_emulator control surface (clock + faults — local plumbing, not part of the Key Vault contract).
|
Package server assembles the emulator: the vault data plane, /health, and the /_emulator control surface (clock + faults — local plumbing, not part of the Key Vault contract). |
|
store
Package store is the persistence layer: pure-Go SQLite, one database for vaults, secret versions, and soft-deleted objects.
|
Package store is the persistence layer: pure-Go SQLite, one database for vaults, secret versions, and soft-deleted objects. |
|
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. |
|
vault
Package vault serves the Key Vault data plane: the challenge-based authentication handshake (the emulator's reason to exist — the 401 advertises entra-emulator's real authority) and the secrets surface with soft-delete semantics on the controllable clock.
|
Package vault serves the Key Vault data plane: the challenge-based authentication handshake (the emulator's reason to exist — the 401 advertises entra-emulator's real authority) and the secrets surface with soft-delete semantics on the controllable clock. |
|
Package portal embeds the built Svelte operator portal so the single Go binary serves it with no Node runtime.
|
Package portal embeds the built Svelte operator portal so the single Go binary serves it with no Node runtime. |
Click to show internal directories.
Click to hide internal directories.