VOOZH about

URL: https://thenewstack.io/why-developers-need-passwordless/

⇱ Why Developers Need Passwordless - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2022-09-02 05:00:06
Why Developers Need Passwordless
sponsor-teleport,sponsored-post-contributed,
Open Source / Security / Software Development

Why Developers Need Passwordless

Developers daily encounter many secrets that pose security risks. By upgrading to passwordless authentication methods, the risk of attacks is reduced.
Sep 2nd, 2022 5:00am by Ben Arent
👁 Featued image for: Why Developers Need Passwordless
Feature image via Pixabay.
Teleport sponsored this post. Insight Partners is an investor in Teleport and TNS.

Over the years, we’ve seen a range of attacks on systems due to passwords. Passwords are leaked, reused or phished — the vulnerable entry point into the system.

Ben Arent
Ben has been working in developer tools for the past decade, helping provide tools that have been used by over 100,000 developers. At Teleport he thrives at helping keep companies and developers’ networks and machines secure.

The solution: Get rid of passwords.

Replacing passwords is often referred to as passwordless, but this is a confusing term as it doesn’t describe what’s replacing it. At the core, passwordless is an authentication method that combines proof of identity (biometrics / Touch ID) and proof of presence (attestation for Secure Enclave on Mac). These two things are all wrapped up in modern web technologies such as Web Authentication (WebAuthn) to make things simple and provide a smooth user experience for users. For example, when you log into your iPhone with Face ID, it’s passwordless; you don’t think about it.

Along with user passwords, there are other password-like credentials scattered in your infrastructure. These are sometimes explicitly called passwords, such as a username and password for a MySQL server, but can also be in the form of long-lived Kubernetes configs that have a very long secret that’s just a password. It could also be a SSH config, used for CI/CD servers to communicate with other machines. We’ll dive into machine-to-machine communication and authentication later in this post.

Teleport is the easiest, most secure way to access all your infrastructure. Only the open-source Teleport Access Plane consolidates connectivity, authentication, authorization, and audit into a single platform to improve security and agility. Insight Partners is an investor in Teleport and TNS.
Learn More
The latest from Teleport

Problems in Dev Paradise 

Over the past few years, developers have been a target of multiple attacks, as most developers require access to staging, build or production environments. With access to sensitive systems, they are hot targets for hackers or even nation-state attacks. The SolarWinds hack showed “phenomenal tradecraft” — once the attacker got a foothold into the system, a backdoor was placed in the build system, then finally deployed to customers.

Other companies such as Twilio and Cisco have come under attack with sophisticated attacks that can even bypass single sign-on (SSO) and multifactor authentication (MFA). Cisco recently observed an advanced bypass of MFA via voice phishing or “vishing.” These incidents highlight that even SSO and MFA might not be strong enough to protect against the most persistent attacks.

Developers’ Dirty Secrets

As part of developers’ day-to-day work, they encounter many secrets. These can range from API keys for services to AWS credentials and kubeconfigs. There are two problems with most of these secrets:

  1. Most are long-lived credentials.
  2. They are stored on disk.

Long-lived credentials can pose many risks. For example, a developer might have a Twilio API key that sends SMS, but is this the same key as production? Does this API key get rotated when someone leaves the company? Having long-lived credentials opens up the possibility of lateral movement and possible privilege escalation. Two open-source solutions for secret management are Blackbox and sops. These tools encrypt the secrets, meaning that even if they do get leaked, attackers won’t be able to use them.

Using short-lived and temporary credentials are great for protecting developer accounts. AWS users can use temporary security credentials in IAM in combination with AWS SSO and profiles, `aws sso login –profile`, to retrieve short-lived credentials. If a machine were compromised, there would be a limited window in which an attacker could actually use a secret. Another interesting open source project, aws-vault, helps solve this problem in development environments.

Lastly, it’s important to use a dedicated service account for machine-to-machine communication. For example, a CI/CD service should have its own service account with limited permissions and credentials. It’s worth evaluating whether you can remove secrets altogether, such as using OIDC for GitHub Workflows to eliminate the need to store long-lived secrets. For other systems, it’s worth investigating open source Teleport Machine ID as a system that will constantly obtain short-lived certificates for access to servers, Kubernetes and databases.

How Does Passwordless Work?

The foundations of passwordless are built on a few standard web standards. For a deep dive, I highly recommend this post, “How Passwordless Works,” for an in-depth review of how both WebAuthn works as well as passwordless. An interesting detail that makes passwordless secure is the fact that verification of identity, either via biometrics or a personal identification number (PIN), never leaves the user’s device. This makes remote phishing attempts impossible, as the attacker would need access to the device.

👁 Image

What’s Unique about Developers?

It goes without saying, developers are power users of their work machines. They are often switching between integrated development environments (IDEs) and terminals to get their job done. They use command-line tools rather than browser-based apps, and these CLI tools often require some form of authentication.

This is where passwordless can get tricky. WebAuthn was primarily designed for browsers, and some security features such as attestation aren’t fully implemented. For example, Chrome relies on self-attestation for Touch ID, since it can’t securely employ a different format.

The next problem is being able to support passwordless authentication methods in the CLI. While developing the open source tsh client, the binary needed to be packaged with the correct provisions profile to be able to work. For other open source developers, this means an Apple Developer account is required to build a CLI that’s compatible with Touch ID.

👁 Image

👁 Image

Why Developers Need Passwordless

This post has outlined some of the risks associated with passwords and points us to a future in which passwords will become a thing of the past. By upgrading to passwordless authentication methods, the risk of attacks is greatly reduced. Teleport is one of the first developer-focused tools to bring passwordless to the terminal without the need for a username or password.

Call to Action for Passwordless for Developer

Audit your developers and systems: To better understand your current security posture, it’s worth identifying all the different tools and authentication methods used for developers and developer-related services. If using a centralized password manager, it might be worth investigating when the password was last rotated and exploring other options.

Upgrade U2F to WebAuth: If you’re working on a product that provides authentication, start by upgrading your older U2F and 2nd factor to WebAuth; there are multiple libraries available to make this easier:

Invest in hardware tokens: Start by buying your team hardware tokens, either YubiKeys, Google Titans or SoloKeys

Upgrade machine-to-machine communication to passwordless: Investigate ways in which you can remove passwords from infrastructure services. For example, if you’re currently using Postgres username and password, consider upgrading to using TLS to connect to your MySQL, then use certificates instead of passwords.

The Future of Passwordless with Passkeys 

Apple, Google and Microsoft have been collaborating on making the user experience of passwordless better for the general population. Currently, users need to register and enroll each device they have. For example, a Touch ID registration made on your MacBook won’t carry over to your iPhone.

Passkeys is the solution to this problem, a FIDO2 improvement that will let users easily and securely access passwordless systems across devices and operating systems. The FIDO2 Authentication standards are based on public key cryptography for authentication that is more secure than passwords and SMS one-time passwords. FIDO2 Authentication enables password-only logins to be replaced with secure and fast login experiences across websites and apps.

Teleport is the easiest, most secure way to access all your infrastructure. Only the open-source Teleport Access Plane consolidates connectivity, authentication, authorization, and audit into a single platform to improve security and agility. Insight Partners is an investor in Teleport and TNS.
Learn More
The latest from Teleport
TRENDING STORIES
Ben has been working in developer tools for the past decade, helping provide tools that have been used by over 100,000 developers. At Teleport he thrives at helping keep companies and developers’ networks and machines secure.
Read more from Ben Arent
Teleport sponsored this post. Insight Partners is an investor in Teleport and TNS.
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Pragma, Teleport, SolarWinds.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.