Application Password Rules
The Application Password Rules page lets us give each key only what it needs, restricting access to specific API areas, trusted IP addresses, read-only…
On this page
The Application Password Rules page lets us give each key only what it needs, restricting access to specific API areas, trusted IP addresses, read-only permissions, or setting an expiration date.

When you click Edit rules next to any key opens a settings popup where we can restrict what the key can do and limit how long it stays active.
Key Rules Configuration
These rules make sure external tools only access what they need. Setting limits protects sensitive areas if a key ever gets compromised.

Read only
Limits the key so it can only view or read site data. When switched on, the key cannot create, update, or delete any content, and it is automatically blocked from using XML-RPC.
Allowed API areas
Restricts the key to specific REST API namespaces (for example, wp/v2 or my-plugin/v1). Typing a namespace and pressing Enter limits the key strictly to those endpoints. Leaving this field empty gives the key access to all areas. (Note: A key restricted to specific API areas cannot use XML-RPC.)
Allowed addresses
Restricts sign-ins to specific IP addresses or IP ranges using CIDR notation (such as 203.0.113.5 or 10.0.0.0/8). The key will be blocked if an app attempts to connect from any other IP address. Leaving this field empty allows connections from any IP address.
Expires
Sets an automatic expiration date and time for the key. Once the chosen date and time pass, the key automatically stops working. Leaving this field empty keeps the key active indefinitely until it is manually revoked.