Supported 2FA Channels
Integration Patterns
1. Vault‑Stored Authenticator Secret (Recommended)
When you can export or reveal the QR‑code secret behind a TOTP authenticator, simply store that secret in the Vault entry that belongs to the credential set:/vault endpoints or using our UI here.
At runtime the browser agent generates the current code itself, allowing fully autonomous logins with no external dependency.
Tip – This approach also works for SMS or email 2FA when the underlying service lets you switch to an authenticator‑app factor.
2. CC 2FA Proxy (Hands‑Off SMS / Email / Magic Link)
CloudCruise can provide an isolated phone number and inbox per Vault credential. Perform a one‑time change in the target account:- Replace the existing 2FA phone number or email with the CloudCruise‑supplied value.
- (Optional) Add a forwarding rule so codes are copied to a human‑accessible destination.
Pros / Cons
3. User‑Driven Code Submission (Minimal Setup)
If you cannot change the registered phone/email or export the authenticator secret, fall back to interactive mode:- Agent reaches the 2FA prompt and emits a webhook:
- Your application notifies the user and collects the 6‑digit code.
- Submit the code via the User Interaction API:
Pros / Cons
Choosing an Approach
Error Handling & Timeouts
- A 2FA code must be delivered to the agent within 5 minutes of the prompt.
- If the window elapses, the run fails; retry or re‑schedule as needed.
Security Considerations
- All codes received via the CC 2FA Proxy are discarded after use.
- When you store a TOTP secret in the Vault, it is wrapped with the same envelope‑encryption scheme used for passwords.
- Webhook payloads never contain raw codes—only metadata indicating that a code is required.

