Skip to main content
aad-tool is the command-line management interface for Himmelblau. Most subcommands communicate with the running himmelblaud daemon or directly with Entra ID. Commands that interact with Entra ID must be run from a device that has already been enrolled (joined) to Entra ID.

Global flags

FlagDescription
--debug / -dEnable verbose debug logging.

Commands

CommandDescription
application listList Entra ID application registrations in the current tenant.
application createCreate a new Entra ID application registration.
application list-schema-extensionsList POSIX schema extension attributes registered on an application.
application add-schema-extensionsRegister POSIX-related schema extensions on an existing application.
auth-testTest authentication for a user through the Himmelblau PAM channel.
cache-clearMark cached user and group entries as stale, or fully wipe the cache.
cache-invalidate(Deprecated) Equivalent to cache-clear. Will be removed in a future release.
configure-pamInsert pam_himmelblau lines into the system PAM configuration files.
cred secretStore a client secret for confidential client authentication.
cred certGenerate an HSM-backed key pair and self-signed certificate for confidential client authentication.
cred deleteDelete stored confidential client credentials.
cred listCheck whether confidential client credentials are present for a domain.
enumerateEnumerate all Entra ID users and groups with rfc2307 attributes and cache them locally.
user set-posix-attrsSet POSIX attributes (uidNumber, gidNumber, etc.) on an Entra ID user.
group set-posix-attrsSet the gidNumber attribute on an Entra ID group.
idmap user-addAdd a static UID/GID mapping for an Entra ID user to the idmap cache.
idmap group-addAdd a static GID mapping for an Entra ID group to the idmap cache.
idmap clearClear all entries from the static idmap cache.
offline-breakglassActivate or deactivate offline breakglass mode for emergency access.
statusCheck that himmelblaud is online and able to connect to Entra ID.
tpmCheck whether Himmelblau is using the TPM for key storage.
versionShow the version of this tool.
Commands that interact with Entra ID (such as application, enumerate, user set-posix-attrs, and group set-posix-attrs) must be run from a device that has already been joined to Entra ID.

Reference pages

Authentication commands

auth-test, status, version, tpm, configure-pam, and offline-breakglass.

Cache management

cache-clear, cache-invalidate, and enumerate.

Credential management

cred secret, cred cert, cred delete, and cred list.

Identity mapping

idmap user-add, idmap group-add, idmap clear, user set-posix-attrs, group set-posix-attrs, and application commands.

Build docs developers (and LLMs) love