---
site: steel.dev
collection: blog
canonical_url: https://steel.dev/blog/credentials
markdown_url: https://steel.dev/blog/credentials.md
content_signal: ai-input=yes, ai-train=yes, search=yes
related:
  - https://steel.dev/blog/steel-is-now-a-native-browser-provider-in-hermes.md
  - https://steel.dev/blog/session-metadata-and-signals.md
  - https://steel.dev/blog/more-browsers.md
title: Let your browser agent sign-in securely
description: Your browser agent can open a page, read it, scrape it, and click through a flow. Then it reaches a sign-in page and stops.
date: 2026-11-27
authors:
  - Hussien Hussien
category: Product
launch_week: v4
minutes: 3
tldr: Steel fills a stored credential into a site's sign-in form so your code and your agent never need the password. Vaults group logins, bindings give each session only the credentials it should use, and Secret Connections fill credentials straight from 1Password or HashiCorp Vault.
topics:
  - Credentials
  - Browser authentication
  - Secrets management
  - Agent security
entities:
  - Steel
  - 1Password
  - HashiCorp Vault
answers_questions:
  - How does a Steel session sign-in without exposing the password?
  - How do I limit which logins a session can use?
  - Can Steel fill logins from 1Password or HashiCorp Vault?
  - Where does Steel generate one-time codes?
---

# Let your browser agent sign-in securely

Your browser agent can open a page, read it, scrape it, and click through a flow. Then it reaches a sign-in page and stops.

So you work around it. Your script types the password from an env var, you save a signed-in profile and hope the session doesn't expire, you type it in yourself, or you paste it into the prompt and now it's in the chat history.

Today we're launching Credentials. Your agent signs in without being handed the password. Store a login as a credential once, Steel signs your agent in automatically, only on the sessions you want, and the values are write-only so not even you can read them back.

## How should your browser agent sign in?

### With one saved login

**Best for** trying it out, or the one site your agent needs.

1. In the [Steel dashboard](https://app.steel.dev/), go to **Credentials** → **New credential**, enter the site's origin, username and password, and save. Steel encrypts it and never shows it again.

2. Start a session with credentials turned on:

   ```ts
   const session = await client.sessions.create({ credentials: {} });
   ```

3. Send your agent to the site's sign-in page. Steel fills the form and submits it.

The [Credentials docs](https://steel.dev/docs/logins/credentials) have the full example.

### With a Vault of logins

**Best for** many logins such as one set per customer. A session can only use the Vaults you give it so one customer's session can never fill another customer's login.

1. In the dashboard, go to **Credentials** → **Vaults** → **New Vault**, and add your logins to it.

2. Give a session the Vault:

   ```ts
   const session = await client.sessions.create({
     credentials: { bindings: ["steel://vaults/acme-prod"] },
   });
   ```

3. Send your agent to any site in the Vault. Steel fills the login for that site and submits it, and logins you add to the Vault later work too.

The [Vaults docs](https://steel.dev/docs/logins/vaults) show you how.

### From 1Password or HashiCorp Vault

**Best for** teams whose logins already live in 1Password or HashiCorp Vault. Steel reads a login when a session needs it and never keeps a copy so a password rotated there is the one that fills next time.

1. In the dashboard, go to **Credentials** → **Connections**, and connect 1Password or HashiCorp Vault to your project.
2. Test the connection to check that Steel can reach your provider.
3. Give a session one of its vaults:

   ```ts
   const session = await client.sessions.create({
     credentials: { bindings: ["steel://connections/work/vaults/Shared"] },
   });
   ```

The [Secret Connections docs](https://steel.dev/docs/logins/secret-connections) show you how.

## What changed since Beta

- **2.6×** more clean sign-ins than Beta (26 of 29, vs. 10).
- **0** wrong fills, vs. 30 in Beta.
- **27 ms** to find the sign-in form on a page with 2,000 fields, vs. 1.8 s in Beta.

Measured on Steel's sign-in test suites. Compared to results in Beta.

In the Beta sent the browser the whole login, and the browser generated one-time codes itself. Now the browser asks for one field at a time, and one-time codes are made on Steel's servers with the seed never leaving them.

Upgrading from the beta? If you use `exactOrigin: false`, your logins might not fill as you expect. [Rebuilding Credentials](https://steel.dev/blog/rebuilding-credentials) explains what changed, why it did, and what to do.

## Tell us what breaks

Sign-in pages are endlessly creative and we haven't seen them all. Try Credentials on the sites your agent actually uses and tell us what happens: the ones that signin cleanly and especially the ones that don't. Share with us on [X](https://x.com/steeldotdev) or [Discord](https://discord.gg/steel-dev).
