# Passwords and 2FA
<!--
ref: @any-corp/it/passwords-and-2fa
type: protocol
tags: [it, security, passwords, 2fa, mfa, 1password]
triggers: [password, 2fa, mfa, sso, login, lost password, security key]
version: 1
updated_at: 2026-04-30T17:25:39.221Z
-->

Every Any-Corp account is protected by SSO + 2FA + a password manager. No exceptions, no "just this once."

## SSO is the default

Most company tools are behind **Google Workspace SSO**. Sign in once with your `@any-corp.com` account, get access to everything you should have.

Tools we add: as part of vendor approval (`@any-corp/finance/vendor-approval`), every new tool **must** support SSO before we sign. Tools that don't support SSO require an exception approved by IT + the requesting department head, and live in the password manager only.

## 2FA — required, everywhere

| Account | 2FA method | Notes |
|---|---|---|
| Any-Corp Google | Hardware key (preferred) or authenticator app | Required day-1 |
| 1Password | Authenticator app | Required day-1 |
| GitHub (engineering) | Hardware key (preferred) or authenticator app | Required day-1 |
| AWS / cloud accounts | Hardware key | Required for any IAM user with prod access |
| Slack | Authenticator app | Auto-enforced via SSO |
| Customer support tools | Authenticator app | Per tool |

**No SMS-based 2FA.** Ever. SIM-swap attacks are real; SMS is for confirmations only, not auth.

### Hardware keys

We provide **two YubiKeys** per employee on request — one primary, one backup. Order through `#it-help`. Senior engineering / on-call / anyone with prod access: hardware keys are required, not optional.

### Authenticator apps

For non-hardware-key 2FA, use **1Password's TOTP** (lives next to the password) or a dedicated authenticator. Don't use the SMS option even if offered.

## 1Password — the password manager

Day-1 setup. Every employee has a 1Password account, joined to the Any-Corp team via SSO.

### Vault structure

| Vault | What's in it | Who can access |
|---|---|---|
| Personal | Your work logins | Just you |
| {Team} Shared | Team-shared logins | Your team |
| Vendor Logins | SaaS account credentials (where SSO isn't supported) | Per-tool, role-based |
| Customer Demos | Demo credentials | Sales + CS |
| Production | Critical infra | Senior engineering + ops only |

### Rules

- Passwords **never leave 1Password**. No "I'll remember this one." No `Notes.app`. No spreadsheets.
- Generate, don't pick. Use 1Password's password generator. Random + long, every time.
- Don't reuse passwords across services, even non-work ones. Even if "this one's not important." It will be eventually.
- Share via 1Password's share feature, not Slack DM.

## When something goes wrong

### Lost a password

You don't lose passwords — they're in 1Password. If you lose access to 1Password itself:
- Account recovery via SSO + a verified team admin.
- Process takes ~30 minutes during business hours.

### Lost a hardware key

- Use the backup YubiKey or the recovery codes (which you saved during setup, right?).
- File a `#it-help` ticket — we issue a replacement within 1 business day.
- The lost key is **deactivated** server-side immediately on report.

### Suspected compromise

If you think any account was compromised:
1. Notify `#it-help` immediately (or DM the on-call IT contact off-hours).
2. Don't try to "fix" it yourself first. We need to see the evidence intact.
3. Change the password from a clean device after IT confirms.
4. Per `@any-corp/engineering/incident-response`: any compromise touching customer data is a security incident — not just a personal hassle.

## Cred hygiene

- **Lock screen:** auto after 5 minutes of idle. Enforced by MDM.
- **Don't** type passwords with people watching, on a screen-share, in a recorded meeting.
- **Don't** save passwords to your browser. Always 1Password.
- **Don't** click "remember me" on shared / public devices.
- **Don't** sign into work accounts on personal devices unless you've enrolled the device in MDM.

## API tokens and secret management

- **Personal access tokens (GitHub, AWS CLI, etc.):** scoped narrowly, expire-as-soon-as-possible, stored in 1Password.
- **Production secrets:** never on personal devices. Use the secrets manager (`@any-corp/engineering/deploy-runbook`).
- **Sharing a secret:** never via Slack, never via email. Use 1Password share or the secrets manager.
- **Rotation:** every 90 days for high-privilege tokens, on-demand for any token that touches a public surface.

## Annual security training

- 30 min, online, once a year.
- Covers phishing, social engineering, credential hygiene, and what's new this year.
- Mandatory for everyone, including leadership.

## What we don't do

- We don't email passwords. Never. Anyone asking you to "send the password real quick" — that's the test.
- We don't permit password sharing for "convenience." Everyone gets their own credentials.
- We don't give blanket admin to people who don't need it. Least privilege, every time.
- We don't allow installation of personal password managers for work accounts. 1Password is the standard.

---

*Related: `@content/youtube/tiago-forte/i-connected-claude-to-everything-then-i-saw-the-gap` · `@content/youtube/indy-dev-dan/mac-mini-agents-openclaw-is-a-nightmare-use-these-skills-instead` · `@content/youtube/cole-medin/watch-this-if-your-coding-agent-is-ignoring-your-rules-you-need-hooks` · `@content/youtube/aie/the-one-thing-every-ai-agent-framework-agrees-on-mislav-ivanda-daytona` · `@content/youtube/tiago-forte/2026-08-19-i-connected-claude-to-my-entire-life-here-s-what-broke`*

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*