LAUNCHMongoDB 8.3 is built for the sub-100ms retrieval & zero downtime AI demands. Read blog >
AI DATAStop fighting your data layer. Get the memory & retrieval agents need to scale. Read blog >

Coinbase Secures Access to Its MongoDB Fleet

Photo of a company employee.

Their Challenge

Traditional passwords and long-lived certificates created vulnerabilities as Coinbase scaled, leaving credentials exposed and exploitable.

Our Solution

Coinbase built a system that generates ephemeral certificates on demand, eliminating stored credentials and enhancing its security posture.

Outcome

Coinbase now issues over 200,000 certificates daily with sub-50 millisecond latency.

industry_enterprise

Industry

Financial Services

atlas_product_family

Product

MongoDB Atlas

 

atlas_for_edge

Use Case

Modernization

THEIR CHALLENGE

Securing access to mission-critical data at scale

Every day, millions of people trust Coinbase to safeguard their cryptocurrency investments. The cryptocurrency exchange facilitates billions of dollars in digital asset transactions, storing vast amounts of mission-critical financial data and personally identifiable information in MongoDB Atlas databases.

Coinbase benefits from the rigorous security, resilience, and performance that MongoDB Atlas delivers. The built-in security controls and customizable guardrails of MongoDB Atlas reduce risk, ensure compliance, and protect data from day one, freeing security teams to focus on strategic initiatives while enabling rapid, secure delivery. Security is embedded into every stage of the MongoDB development lifecycle, from design to deployment, and is continually strengthened through ongoing investment and innovation. This depth of security enables organizations like Coinbase to protect sensitive data, meet stringent compliance requirements, and scale with confidence as threats evolve.

As Coinbase grew from a fast-moving startup to a major financial services platform, its security team identified a growing vulnerability in how systems and users accessed the MongoDB Atlas databases that powered some of its critical applications. Traditional authentication methods weren’t designed for the scale, complexity, and security threats that Coinbase faced.

“A password is just something that’s uniquely known to someone and that they can use to prove their identity,” said Ishan Mundra, Software Engineer at Coinbase. “But the issue is that passwords have to be stored somewhere, and if they get leaked, then other people can discover those passwords.”

Certificate-based authentication wasn’t immune either—long-lived certificates that persisted for months or years created their own security gaps. For example, employees left organizations, but their access credentials remained active, creating ghost accounts. Because these credentials were stored in secret managers or configuration files, they had the potential to become attractive targets for attackers.

These industry-wide vulnerabilities demanded a better solution. Coinbase’s Public Key Infrastructure (PKI) team set out to reimagine authentication while maintaining the subsecond latency the platform demanded.

How Coinbase Secures MongoDB Atlas at Scale

OUR SOLUTION

Using ephemeral certificates to remove persistent credentials for Coinbase

Coinbase’s solution was to replace long-lived credentials with ephemeral certificates: temporary digital identities that exist only for the duration they’re needed, then disappear. Think of it like a hotel key card. Instead of giving guests a permanent key that works indefinitely, hotels issue cards that only function during a guest’s stay. Coinbase applied this same principle to database authentication, but at a far more sophisticated level—and at massive scale.

The team built an internal PKI system that generates certificates on demand. When any approved service or Coinbase employee needs to access MongoDB Atlas, the system dynamically generates unique credentials in real time.

Ephemeral certificates prove identity without the vulnerabilities of traditional passwords. These credentials expire rapidly, sometimes in as little as five minutes. Once a service restarts or a session ends, the certificate dies and cannot be reused.

Coinbase logo
“Instead of someone using a traditional username and password to connect to MongoDB, they’ll request a certificate from our team. Then, they’ll get the credentials that they need.”
Ishan Mundra
Software Engineer, Coinbase

OUTCOME

Achieving security at scale without compromise

Coinbase has migrated approximately 50% of its traditional authentication system to this certificate-based framework, progressively securing connections to its MongoDB Atlas databases. But the system is already proving itself at a massive scale. Currently, Coinbase issues approximately 200,000 certificates daily—more than 80 million per year—while maintaining sub-50 millisecond latency.

The architecture has enhanced Coinbase’s security posture. Ghost accounts, once an inevitable byproduct of employee turnover, no longer exist. Stolen credentials become worthless within minutes rather than remaining exploitable indefinitely. Because credentials are generated dynamically rather than stored, there’s nothing for attackers to discover in configuration files or secrets managers.

Coinbase logo
“There’s never going to be a case anymore where you created a username and password for one user and they leave the company, and then these credentials are still around with these ghost accounts. From a security perspective, this is a major benefit.”
Kenneth Yang
Staff Software Engineer, Coinbase

As Coinbase continues to refine its security infrastructure, the team is exploring additional MongoDB capabilities that align with its zero-trust philosophy. Queryable Encryption, which allows encrypted data to be searched and indexed without decryption, represents the next step in protecting sensitive information.


“Being able to encrypt and decrypt client-side with Queryable Encryption is very interesting, but this capability has been very difficult to implement traditionally,” said Kenneth Yang, Staff Software Engineer at Coinbase. “The fact that MongoDB has solved this problem is something very much worth exploring.”

Run MongoDB without the operational burden

Atlas is the simplest way to deploy MongoDB. Get global resilience, push-button scalability, and advanced security.
Learn More
Illustration of a database stack

Explore more success stories

View all stories
Novo Nordisk logo
With Video

Novo Nordisk

This Danish pharmaceutical giant became the first in the industry to generate a complete clinical study report (CSR) in minutes with generative AI and MongoDB Atlas.

Read more
Toyota Connected logo
With Video

Toyota Connected

See how Toyota Connected migrated to Atlas and AWS to enhance reliability for its safety platform.

Read more
L'oreal Groupe logo
With Video

L'oreal Groupe

Discover how L’Oréal improves app performance and velocity with MongoDB Atlas.

Read more

Take the next step

Get access to all the tools and resources you need to start building something great when you register today.
Get StartedTalk to an expert
Illustration of a database.