Subscribe to the Non-Human & AI Identity Journal
Home Glossary Cyber Security Secondary credentials
Cyber Security

Secondary credentials

← Back to Glossary
By NHI Mgmt Group Updated August 15, 2026 Domain: Cyber Security

Additional credentials associated with a user object or business process, often stored so applications can reach downstream systems. They are high risk because compromise of the hosting platform can expose more than one identity boundary, turning a single foothold into wider access.

Expanded Definition

Secondary credentials are additional secrets, tokens, certificates, or reusable authentication artifacts tied to a user object, service account, or business workflow so one application can act on behalf of another system. In identity and NHI operations, the important distinction is that the credential is not the primary human login factor but a stored access enabler that extends trust across a downstream boundary. That makes secondary credentials especially sensitive in application integration, job automation, support tooling, and agentic workflows where the hosting platform can retrieve or present them without direct human interaction.

Definitions vary across vendors on whether a secondary credential must be separately provisioned, whether it is merely cached, or whether it includes delegated tokens. NHI Management Group treats the term broadly when the artifact can be replayed, inherited, or used to reach another control plane. This overlaps with the risk themes in the OWASP Non-Human Identity Top 10 and the assurance principles in NIST SP 800-63 Digital Identity Guidelines, even when the credential itself is not a human authenticator. The most common misapplication is treating secondary credentials as harmless application glue, which occurs when teams store them alongside the workload that uses them without separate rotation, scoping, or retrieval controls.

Examples and Use Cases

Implementing secondary credentials rigorously often introduces lifecycle and storage overhead, requiring organisations to balance automation convenience against the blast radius created by reusable access material.

  • A CI/CD pipeline stores cloud API keys to deploy infrastructure, and those keys become secondary credentials because compromise of the build runner can expose production access.
  • A ticketing platform keeps a database password for a reporting job, creating a hidden trust path that should be governed as a Non-Human Identity asset rather than an ordinary app setting.
  • An automation bot retrieves a short-lived token from a vault to call a downstream service, which is safer than static storage but still requires scoping, auditability, and revocation planning.
  • A helpdesk workflow uses delegated credentials to verify an account or reset access, making the secondary credential part of a privileged business process that should align with identity assurance guidance in NIST SP 800-63.
  • A SaaS integration uses a certificate to authenticate service-to-service traffic, and the certificate becomes a secondary credential that must be inventoried, rotated, and protected like any other secret.

These patterns are easiest to miss when the credential is embedded in configuration, inherited from a parent service, or fetched implicitly by middleware rather than by a visible operator action.

Why It Matters for Security Teams

Secondary credentials matter because they collapse boundaries: one compromised workstation, container, workflow engine, or agent can expose multiple identities, systems, or permissions. That makes them a frequent pivot point for lateral movement, privilege escalation, and data exfiltration. Security teams should classify them as protected authentication material, inventory them separately from primary user accounts, and apply the discipline expected for secrets management, rotation, logging, and least privilege. The control intent in NIST SP 800-53 Rev 5 Security and Privacy Controls is relevant here because access enforcement, credential management, and auditability all need to work together when one credential unlocks another system boundary.

For NHI and agentic AI environments, the risk becomes sharper because software agents may request, cache, and reuse secondary credentials at machine speed. If those credentials are not isolated, the agent can unintentionally amplify a small compromise into broad operational access. Organisations typically encounter the full impact only after a token leak, pipeline breach, or service account misuse, at which point secondary credentials become operationally unavoidable to inventory and contain.

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 and OWASP Agentic AI Top 10 address the attack and risk surface, while NIST SP 800-63, NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10Covers NHI credential exposure and lifecycle risks that include secondary credentials.
NIST SP 800-63AAL2Identity assurance guidance helps distinguish credential strength and replay risk.
NIST CSF 2.0PR.AA-1Access control and identity management practices govern how credentials are issued and used.
NIST SP 800-53 Rev 5IA-5Defines authenticator management controls relevant to storing and rotating credentials.
OWASP Agentic AI Top 10Agentic systems can cache and misuse secondary credentials during autonomous execution.

Treat stored secondary credentials as sensitive authenticators and avoid weak, reusable forms wherever possible.

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