# Password Policy Generator — AD, Entra, AWS, PCI

Source: https://passwordgeneratorlab.com/password-policy-generator/

> Passwords that meet Entra ID, Active Directory, AWS IAM, Google Workspace, PCI DSS, NIST, GitHub, Apple, Salesforce and Oracle rules, checked live.

Generated on your device with the Web Crypto API. Never sent anywhere, never stored. [How it works](https://passwordgeneratorlab.com/about/#methodology)

## Key facts

- NIST SP 800-63B-4: at least 15 characters for passwords used as the only factor, and no composition rules.
- Microsoft Entra ID: 8–256 characters with at least 3 of 4 character types.
- AWS IAM accepts only these symbols: `! @ # $ % ^ & * ( ) _ + - = [ ] { } | '`.
- PCI DSS v4.0.1 requirement 8.3.6: at least 12 characters containing both letters and digits.
- Apple Account: at least 8 characters with an uppercase letter, a lowercase letter and a digit, and no character three times in a row.
- Active Directory complexity: 3 of 4 character types, and the password must not contain the account name.
- Each preset includes plain-language policy text you can copy and the documented place to configure it — or a note when the vendor fixes the rules.

Last reviewed 9 November 2026

## Why policy presets?

Every system has its own rules. AWS accepts only some symbols; Active Directory wants three of four character types and no username; PCI DSS sets a 12-character floor. Guessing wrong means a rejected password, a retry, and often a weaker password typed in frustration. Pick the system and get a password that is accepted first time — and still fully random.

To see every preset side by side, read [password requirements by platform](https://passwordgeneratorlab.com/guides/password-requirements-by-platform/).

## Copy the policy text

Below each preset's checklist you'll find the same rules written as a short policy statement you can paste into an internal policy, onboarding guide or help-desk article, plus the documented place where the setting lives (a Group Policy path, an admin console menu, a CLI command or SQL). Some rules can't be changed at all — Entra ID's length and complexity, GitHub and Apple Account — and the preset says so. NIST SP 800-63B-4 and PCI DSS are standards rather than products, so you enforce them in your own identity provider, directory or application.

## How we meet each policy

We always use the same unbiased generator as our [random password generator](https://passwordgeneratorlab.com/). For a policy, we require all four character types (which also satisfies "three of four" rules), keep the length inside the policy's limits, and leave out any symbols the system doesn't accept. The checklist then verifies the actual password against the rules.

## Policies change — and so do organizations

Administrators can tighten defaults (longer minimums, extra banned words), and vendors update their rules. We link to the vendor documentation we checked and the date we checked it. If your system rejects a password, its error message is the source of truth — tell us via the [contact page](https://passwordgeneratorlab.com/contact/) and we'll review the preset.

## Policy rules aren't the same as strength

Composition rules like "one uppercase, one symbol" were meant to make human-chosen passwords stronger, but people respond predictably (`Password1!`). That's why current NIST guidance drops them in favor of length and blocklists. For a random password, length is what matters — set it as long as the system allows.

## Frequently asked questions

### Is my account name sent anywhere?

No. The optional account-name check for Active Directory runs in your browser, like everything else on this site.

### Why is the maximum length 128?

That's the longest our generator produces, and longer than most people ever need. Some systems allow more (Entra ID accepts 256), but 128 random characters is far beyond any practical attack.

### Can I use the policy text in my own documentation?

Yes. It's a plain-language summary of the vendor's documented rules for each preset, so you can paste it into an internal policy or help article. Check it against your own settings first — administrators often change the defaults, and the vendor's documentation is the authority.

### Can you add another system?

Yes — tell us which one through the contact page, ideally with a link to its official password documentation.

## Related guides

- [Password requirements by platform, compared](https://passwordgeneratorlab.com/guides/password-requirements-by-platform/) — Password rules side by side for NIST, Microsoft Entra ID, Active Directory, AWS IAM, Google Workspace, PCI DSS, GitHub, Apple, Salesforce and Oracle.
- [NIST password guidelines explained (SP 800-63B-4)](https://passwordgeneratorlab.com/guides/nist-password-guidelines/) — What NIST SP 800-63B-4 requires for passwords: 15-character minimum, no complexity rules or forced expiry, blocklists, and what changed from the 2017 version.
- [How often should you change your password?](https://passwordgeneratorlab.com/guides/how-often-should-you-change-your-password/) — Why security agencies no longer recommend changing passwords on a schedule, the situations where you should change one right away, and what to do instead.

## More generators

- [Password generator](https://passwordgeneratorlab.com/) — Random passwords with full control over length and characters.
- [Passphrase generator](https://passwordgeneratorlab.com/memorable-password-generator/) — Memorable word-based passphrases from the EFF wordlist.
- [PIN generator](https://passwordgeneratorlab.com/pin-generator/) — Uniform random numeric PINs, 4–12 digits.
- [Wi-Fi password generator](https://passwordgeneratorlab.com/wifi-password-generator/) — WPA2/WPA3 passphrases that are easy to type on any device.
- [Bulk password generator](https://passwordgeneratorlab.com/bulk-password-generator/) — Up to 100 independent passwords at once.
- [Password strength checker](https://passwordgeneratorlab.com/password-strength-checker/) — Check how guessable a password is — entirely on your device.
- [API key generator](https://passwordgeneratorlab.com/api-key-generator/) — Random 128–512-bit keys, tokens and secrets for developers.
- [Entropy calculator](https://passwordgeneratorlab.com/password-entropy-calculator/) — Bits of entropy and time-to-guess for any random password scheme.
