Subscribe to the Non-Human & AI Identity Journal

Shared credentials

Shared credentials are passwords, tokens, or access secrets used by more than one person or system. They weaken attribution and revocation because no single identity owns the secret cleanly, which increases blast radius when the credential is exposed or abused.

Expanded Definition

Shared credentials are not simply “multiple users know the same password.” In NHI security, they are a control failure because a single secret becomes the access path for more than one human operator, service, script, or agent. That breaks clean attribution, makes revocation uneven, and undermines least privilege when one exposed secret can unlock many workflows. Definitions vary across vendors on whether a shared API token used by a team is “temporary convenience” or an operational anti-pattern, but the security impact is consistent: the secret becomes a reusable bearer asset rather than a bound identity. Guidance in OWASP Non-Human Identity Top 10 and NIST SP 800-63 Digital Identity Guidelines both reinforce that strong identity assurance depends on unique, attributable authenticators and clear lifecycle ownership.

Shared credentials are often confused with delegated access, but delegation preserves per-identity control while shared secrets erase it. The most common misapplication is treating a team password or shared token as acceptable “internal access” when several people or systems need the same resource.

Examples and Use Cases

Implementing access without shared credentials often adds onboarding friction and requires better identity orchestration, so teams must weigh operational speed against the long-term cost of weak revocation and poor auditability.

  • A legacy admin console is protected by one password known by multiple operators, making it impossible to prove who changed a production setting.
  • A CI/CD pipeline uses a single long-lived token for every build job, so one leak can expose the full deployment path; this pattern appears repeatedly in NHIMG research such as the Guide to the Secret Sprawl Challenge.
  • A shared cloud access key is pasted into chat for troubleshooting, which mirrors insecure transfer patterns highlighted in the 2024 Non-Human Identity Security Report, where 23.7% of organisations share secrets through insecure methods such as email or messaging applications.
  • An AI agent and a human operator both use the same API key to reach a model endpoint, preventing policy from distinguishing agent activity from operator activity during incident review.
  • A contractor inherits the same secret as permanent staff, so access persists after the engagement ends unless every dependent system is rotated at once.

For more context on how static secrets amplify exposure, see Ultimate Guide to NHIs — Static vs Dynamic Secrets. The same risk shows up in Reviewdog GitHub Action supply chain attack when one compromised workflow can fan out across many downstream secrets.

Why It Matters in NHI Security

Shared credentials create a large blast radius because compromise of one secret can expose multiple identities, environments, or automation paths at once. That breaks non-human accountability, complicates incident response, and often forces emergency rotation across many systems rather than a targeted revoke. In NHI programs, the issue is not only exposure but also governance drift: shared secrets tend to live longer than intended, cross trust boundaries, and accumulate invisible dependencies in scripts, pipelines, and agent toolchains. NHIMG reporting shows the governance gap clearly, with 88.5% of organisations saying their non-human IAM practices lag behind or merely match human IAM, and 19.6% expressing strong confidence in secure workload identity management.

Security teams should treat shared credentials as a transition state, not a stable operating model, and replace them with unique workload identities, short-lived tokens, and controlled secret distribution. For implementation patterns, the Guide to the Secret Sprawl Challenge and the NIST SP 800-53 Rev 5 Security and Privacy Controls are useful anchors for access control, account management, and secret governance. Organisations typically encounter the full cost of shared credentials only after an incident forces emergency rotation, at which point attribution and revocation become 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.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-02 Shared secrets directly increase secret sprawl and weaken non-human identity control.
NIST SP 800-63 AAL2 Identity assurance depends on unique authenticators, not reused credentials across principals.
NIST CSF 2.0 PR.AC-1 Access control should enforce identity uniqueness and limit shared secret usage.

Eliminate shared secrets by assigning unique workload identities and rotating exposed credentials immediately.