Credential management is the practice of creating, securing and retiring the digital credentials that allow human users and nonhuman identities to authenticate to IT systems.
Digital credentials are the information used to prove an entity’s identity during authentication. They can take many forms. Passwords are the most familiar user credential, while common machine credentials include digital certificates, tokens and API keys.
Credential management governs these credentials throughout their lifecycle, from creation and secure storage to rotation and revocation. This work is generally handled by a combination of tools—such as secrets and password managers—that centralize credential management rather than leaving each application to manage its own.
Credential management has become a core component of enterprise cybersecurity because the sheer number of active digital credentials in the average IT environment has ballooned with the rise of nonhuman identities (NHIs).
Stolen credentials are now one of the most common causes of data breaches, according to the IBM Cost of a Data Breach report. And when malicious actors get their hands on a valid login, they can sneak right past preventive controls. To the system, they look just like a legitimate user.
Credential management is a part of the broader practice of identity and access management (IAM). It also overlaps with secrets management, which focuses specifically on nonhuman credentials—keys, tokens and certificates—whereas credential management covers credentials of all kinds.
Digital credentials fall into one of two broad groups—user credentials and machine credentials—depending on whether they authenticate a person or a machine.
User credentials authenticate human users. They include:
Machine credentials authenticate nonhuman identities—applications, services, workloads and devices—to one another. These systems constantly connect, exchange data and perform tasks on their own, with no human guiding them. Therefore, each needs its own credential to prove its identity.
Common machine credentials include:
Join security leaders who rely on the Think Newsletter for curated news on AI, cybersecurity, data and automation. Learn fast from expert tutorials and explainers—delivered directly to your inbox twice weekly. See the IBM Privacy Statement.
Credential management matters because stolen and mismanaged credentials are among the easiest and most damaging ways for threat actors to break into an organization. And the number of credentials an enterprise must protect is growing faster than most security teams can track.
According to the IBM X-Force Threat Intelligence Index, 32% of the incidents X-Force responded to last year involved the abuse of valid accounts.
In these identity-based attacks, attackers steal the credentials of human users or nonhuman identities to authenticate as them—a process known as credential theft.
Common forms and causes of credential theft include:
Breaches associated with credential theft are among the costliest and hardest to detect. The Cost of a Data Breach report found breaches involving stolen or compromised credentials cost an average of USD 5.07 million, more than the overall average of USD 4.99 million.
Critically, credential theft is no longer just a human problem. In modern enterprises, the ratio of NHIs to people is estimated to be anywhere from 45:1 to 92:1. Each of these NHIs is a potential vulnerability. NHIs tend to run with fewer security controls and less monitoring than human accounts—making them juicy targets for hackers.
As Nick Bradley, a threat intelligence manager at IBM X-Force, put it on an episode of the IBM Security Intelligence podcast, an attacker who compromises a service account is “stealing something that no one was even watching in the first place.”
Credential management helps close these security gaps by governing every credential across its entire lifecycle:
Credential management tools and practices can also help organizations meet certain regulatory compliance obligations related to access control and authentication. The General Data Protection Regulation (GDPR), for example, requires organizations to maintain the confidentiality of the systems that process personal data and to ensure that anyone acting under their authority accesses that data only on instruction. Both requirements come down to controlling who holds working credentials and revoking them promptly when they’re no longer needed.
The Health Insurance Portability and Accountability Act (HIPAA) is more specific, requiring access control and unique user identification for electronic protected health information. Every person with access needs their own ID, so every action can be traced to an individual. In practice, this requirement helps rule out shared credentials (and their associated risks) entirely.
Credential management tools and processes govern each enterprise credential across its full lifecycle: issuing it, storing it securely, verifying it every time it’s used, monitoring that use, rotating it on a schedule and revoking it the moment it’s no longer needed or trusted.
A credential gets created and bound to a verified identity, such as a new employee or a newly deployed service. Many different tools can be used to issue credentials, depending on who needs them and for what: identity providers, certificate authorities, secrets managers.
Credential management tools can securely store credentials in several ways. For example, secrets managers and password managers often keep credentials in protected vaults. Only authorized users and NHIs can check out the credentials when they’re needed, and the vault logs every such request.
Some credentials, such as passkeys, stay on the user’s own device. Because they’re never transmitted to a service, attackers cannot intercept them.
Each time a credential is used, the system verifies it before granting access, confirming that the authenticating identity is who or what it claims to be.
In some systems, such as logging in to a web app, the credential needs to be presented only once. After a successful login, the app issues the user a short-lived token that stands in for the original credentials.
In other systems, the credential must accompany every request. For example, APIs often present their API keys with every call. In these systems, credentials are often encrypted or otherwise protected to prevent theft in transit.
Credential use is tracked continuously, creating an audit trail of who used the credential, who checked it out of a vault, what they did with the access and more. This real-time monitoring can help surface misuse faster. A service account that suddenly authenticates from an unfamiliar country at 3 AM stands out against months of routine use. Privileged credentials usually get the closest scrutiny because they can cause the most damage when compromised.
Credential management tools regularly retire credentials and replace them with new ones. The specific cadence at which credentials are rotated depends on several factors, from industry standards and regulatory requirements to enterprise policies. Regular rotation helps mitigate the risk of a breach. Stolen credentials stop working before an attacker can get much use out of them.
The moment a credential is lost, stolen or no longer needed, the system revokes it, shutting off an orphaned credential before it can become a standing vulnerability. Dormant accounts that never get retired—for example, an employee leaves the company but their credentials are never revoked—are a common vulnerability. Because nobody is legitimately using the account, nobody notices when an attacker takes control of it.
Credential management isn’t implemented through a single platform. Rather, organizations typically use a mix of specialized tools, each securing a different kind of credential. Some tools bundle several of those functions together.
Notably, there is something called a credential management system (CMS), but it is usually much narrower in scope and focused mostly on smart cards and public key infrastructure. A CMS is the platform that issues smart cards and certificates and manages them across their lifecycle. In other words, it’s one tool in the mix, not a single system that governs every credential.
Other key categories of credential management tools include:
Password managers help secure human users’ credentials. They generate and store strong, unique passwords for each of a user’s accounts. Password managers help mitigate the risk of breaches, as a credential stolen from one account cannot be reused on the others.
The manager keeps these passwords in an encrypted vault that unlocks only with a master password, passkey or biometric scan. In many dedicated password managers, the vault is encrypted and decrypted on the user’s own device. The service provider never holds the credentials. Even if the password manager’s central system is breached, attackers can’t see users’ passwords.
Secrets managers secure nonhuman and machine credentials, often by keeping them in a central, encrypted vault. Without a secrets manager, nonhuman credentials can end up scattered across the enterprise network, embedded in source code and config files. Malicious actors can easily steal these credentials.
With a secrets manager, these credentials are held in secure central vaults instead. Only authorized entities with the proper permissions can check the credentials out of the vault.
Some vaults hand the credential to the requester, such as autofilling a password in a browser field. Other vaults bypass the requester entirely, injecting credentials directly into the relevant service.
Regardless of how the credential is shared, the vault records who took it and when. Many secrets management tools rotate credentials when a session ends so that NHIs can’t simply reuse them.
Privileged access management (PAM) protects the credentials of privileged accounts—the administrator and service accounts that have access to the most sensitive systems. Because those credentials can do the most damage if stolen, PAM tools layer extra controls around them, including vaulting, session recording and just-in-time access.
Session recording entails recording the entire session during which a user uses a privileged credential. Just-in-time access is a model in which users are not granted access permissions until the moment they need them, and those permissions are valid for a limited time.
A public key infrastructure (PKI) issues and validates the digital certificates that let two systems verify each other before they exchange data. Certificate lifecycle management tracks those certificates across their lifespans, so none expires unnoticed, and any that are compromised can be revoked and replaced quickly.
A PKI’s most sensitive credential is the certificate authority’s own signing key. Anyone who steals it can mint certificates that other systems will trust. Certificate authorities frequently keep their signing keys in a piece of tamper-resistant hardware called a hardware security module (HSM). Certificates are signed internally on the HSM, so the key never leaves the device.
An identity provider (IdP) is a service or system that verifies who a user or machine is at the moment of authentication. The IdP then vouches for that identity to other applications. Rather than making each application store and manage its own credentials, an IdP centralizes identity management and authentication.
Common IdP capabilities include:
IdPs also make it easier to revoke credentials when they’re no longer needed. For instance, when an employee leaves, disabling their identity at the IdP level cuts off every connected application at once. There’s no need to hunt down a separate account in each system.