100% Free · Open Source GPLv2 · Zero setup requiredGet the Plugin

Opens in a new tab
ITX UserOps

Application password governance

A site-wide inventory with a last-used column, plus eligibility, lifetime and idle revocation — for the credential that skips your second factor by design.

shot-app-passwords

Application passwords let a script, an app or a cron job authenticate with no human present. They deliberately bypass interactive MFA — that is their purpose, and demanding a TOTP code from a scheduled job would be incoherent.

So the useful controls are not "require a second factor". They are eligibility, lifetime and visibility.

They survive a password change

This is the fact almost nobody knows, and it is the reason this page exists.

Search WordPress core for the call that deletes a user's application passwords. In WordPress 7.0 there is exactly one, in the REST controller that exists to delete them on request. Nothing in the password-change path calls it.

So the standard response to a compromised account — reset the password — closes three of four authentication channels and leaves the fourth open. It feels finished, which is worse than an obviously incomplete response.

The inventory

There is no site-wide list in core. Application passwords live at the bottom of each user's own profile page, below the fold. Auditing them without tooling means visiting every profile in turn, which nobody does once, let alone quarterly.

The inventory is one screen: which account holds each credential, when it was created, when it was last used, and from where.

That last column is the one that turns a vague worry into a work item. It converts *we have some API credentials somewhere* into fourteen rows, nine of which have not been touched in a year.

Eligibility and lifetime

Who may hold one — off site-wide, or restricted to chosen roles. On most sites nobody below editor has any reason to.

A default lifetime stamped on new credentials. Note that it applies to new ones only; it cannot retroactively expire something issued without one, and any tool claiming otherwise is doing something worth looking at closely.

Idle revocation — revoke anything unused for N days. This is the control that actually reduces exposure over time. A credential minted for a migration two years ago and never used since is pure risk with no remaining benefit, and it is the single most common thing found on a first audit.

The rules from your login form, applied here

IP rules, country rules and lockouts can be extended to this channel, and the first three default on.

Because an allowlist that covers wp-login.php and not the REST API is an allowlist with a hole in it — and on most setups, that is exactly what it is.

Login *hours* default off, because a cron job at 3am is the normal case.

And an API key system you already have

There is no separate key mechanism here, deliberately. Every route is capability-gated, and application passwords already authenticate against capabilities — so a credential for an account with the right capability is an API key, one that appears in this inventory, can be given an expiry, can be revoked in a click, and inherits your IP rules.

A bespoke key system would have none of those properties without rebuilding all of them.

Take Control of Your WordPress User Administration Today.

No complex configuration wizards. No third-party API keys required. Install the plugin and start managing your users in under 60 seconds.

Requires WordPress 6.6+ & PHP 7.4+ | Works on Single Sites & Multisite

Log in

Vote on ideas, submit your own and join the discussion.