Join our Newsletter — 33% off our NHI Course
Architecture & Implementation

Character Set

← Back to Glossary
By NHI Mgmt Group Updated September 1, 2026 Domain: Architecture & Implementation

A character set is the group of symbols available to build a password, such as digits, lowercase letters, uppercase letters, and punctuation. The larger the set, the more combinations exist for each position. If an attacker can infer which sets are used, the search space shrinks quickly.

Expanded Definition

A character set is the defined pool of symbols that may be used to construct a password or other secret, including digits, lowercase letters, uppercase letters, and punctuation. In NHI security, character set selection matters because it directly affects entropy, password policy design, and how quickly an offline attacker can reduce the search space after a breach. The term is often treated as a simple UI setting, but in practice it sits inside a broader control decision about secret strength, generation rules, and system compatibility.

Definitions vary across vendors when the setting is described as “complexity,” “format,” or “allowed characters,” so practitioners should separate presentation rules from actual cryptographic strength. For policy authors, the key question is whether the chosen character set is broad enough to resist brute-force guessing while still remaining usable for the systems that consume the secret. The NIST SP 800-53 Rev 5 Security and Privacy Controls is a useful reference point when character-set rules are part of a wider access-control or authenticator policy. The most common misapplication is treating “must include uppercase, lowercase, number, and symbol” as a guarantee of strength when the secret is still short or predictable.

Examples and Use Cases

Implementing character-set rules rigorously often introduces compatibility and usability constraints, requiring organisations to weigh stronger guessing resistance against system constraints and user friction.

  • A service account password generator allows all printable characters, increasing entropy without requiring humans to remember the result.
  • A legacy integration rejects punctuation, forcing the team to compensate with greater length and rotation discipline.
  • A CI/CD secret is generated with mixed-case letters and digits only because the target system mishandles symbols.
  • A vault policy standardises allowed characters so automated secret rotation does not fail during provisioning.

For NHI programs, the decision is not only about what characters are permitted, but also about how the resulting secret is stored, rotated, and monitored. The Ultimate Guide to NHIs shows how weak secret hygiene and excessive privilege often compound one another, while NIST SP 800-53 Rev 5 Security and Privacy Controls provides control context for protecting secrets that rely on those policies. The same character set can be adequate in one system and unsafe in another if length, rotation, or storage practices differ.

Why It Matters in NHI Security

Character set choices matter because many NHI compromises begin with secrets that are too guessable once attackers obtain a copy or observe patterns in generation. NHIMG reports that 79% of organisations have experienced secrets leaks, with 77% of those incidents causing tangible damage, which underscores how often poor secret quality becomes an operational issue rather than a theoretical one. A restrictive character set can also create false confidence if the secret is reused, stored in code, or left unrotated for long periods.

For Non-Human Identities, the practical risk is that a weakly designed secret becomes the entry point for service account abuse, API key theft, or lateral movement. Character-set policy should therefore be treated as one layer inside a broader secret-management program, not as a standalone safeguard. Organisations that focus only on password composition often miss the larger problem of where the secret lives and who can retrieve it. The most direct value of this term appears after a credential incident, when investigators need to determine whether the secret was weak by design or exposed through poor handling, at which point character set becomes operationally unavoidable to address.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST SP 800-63 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-02Secret strength and generation rules are part of preventing improper secret management.
NIST SP 800-63AAL1Secret composition contributes to authenticator strength and memorability requirements.
NIST CSF 2.0PR.AA-01Identity and credential management includes policies that govern secret strength.

Set secret generation standards that balance entropy, compatibility, and safe rotation for NHIs.

Deepen Your Knowledge

Sign up to our weekly newsletter — get 33% off our NHI Foundation Level Course

    NHIMG Editorial Note
    Reviewed and updated by the NHIMG editorial team on September 1, 2026.
    NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org