sign_in as usual; the browser reads the login from 1Password at that moment, types it in a sealed tab and submits. The password and one-time code never reach the agent, its AI provider, the console or the API, and Hotkey keeps no copy of them.
Set it up
- In 1Password, make a vault for the browser, like Hotkey: Work, and move or copy into it the logins it may use. Each login needs the site’s address in its website field.
- Make a service account that can read only that vault (read items is enough), and copy its token. It starts with
ops_. - In the console, open the browser’s settings, and under Sign-ins choose Use 1Password, paste the token and choose Connect. The browser lists the vaults the token reaches and how many logins with a website they hold.
What the agent does
On a sign-in form the agent callssign_in. With nothing saved in the browser for the site, the browser looks in its 1Password for logins whose website is the page’s site (a login for example.com also serves login.example.com). It opens a sealed tab on the same page, where no script of the agent’s runs, types the username and password there and submits. The result names the login by its title and the tab the agent goes on in.
- One-time codes. When the site then asks for a code, the agent calls
sign_inagain on that page. A login with a one-time password types its current code. - Several logins for a site. The first result names the others. The agent passes
accountwith a login’s title to use another. - Passwords saved in the browser come first. 1Password is read when the browser keeps none for the site.
What Hotkey keeps
- The token, encrypted in the browser’s profile with its saved passwords (AES-256-GCM, with a key kept on the server apart from the profile). No page, answer or log shows it again.
- For a minute at a time, the titles and websites of the vault’s logins, in memory, so a page’s sign-in rows show without asking 1Password each time.
- Nothing of a login’s username, password or code: they are read when typed and dropped when the call ends.
Approval
The vault is the approval: the browser reads only the logins you put in the vault you shared, and you change that in 1Password at any time. 1Password asks no question for each sign-in in this setup. A prompt in your 1Password app for each login (“approve in 1Password”) is what 1Password offers to its agent partners, and Hotkey doesn’t have it yet.Over the API
PUT /v1/browsers/{id}/onepassword with { "token": "ops_…" }, or { "kind": "connect", "url": "https://…", "token": "…" }, checks the token and keeps it. GET says whether it is set and which vaults it reaches; DELETE forgets it. See the API reference.