Store credentials in the encrypted vault (for unattended login)
enroll_credentialsSave account credentials into an encrypted local vault so later logins and 2FA can run without human presence. Secrets are typed by the user in a local prompt; the AI never sees them.
Instructions
Save a profile's credentials to the encrypted vault (.agent-eyes/vault.json, AES-256-GCM) so later logins run with no human present: authenticate_login source=vault and submit_2fa_code source=totp pull from it. The human types every secret — the master passphrase, username, password, and with withTotp the authenticator seed — into the localhost prompt; the AI never sees any value. Optionally stores loginUrl and form selectors too. Returns a non-secret summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | Yes | Short name for the account, e.g. "github". Not a secret — it labels the secure prompt and selects a stored credential. | |
| loginUrl | No | Navigate here first. Omit to act on the open page. Not reloaded if a saved session already authenticated you there. | |
| withTotp | No | Also collect the account's TOTP seed, so later 2FA can run unattended with submit_2fa_code source="totp". | |
| otpSelector | No | Selector for the one-time-code input. Auto-detected when omitted; pass it explicitly if the page state came back unknown. | |
| submitSelector | No | Selector for the submit button. Auto-detected when omitted. | |
| passwordSelector | No | Selector for the password input. Auto-detected when omitted. | |
| usernameSelector | No | Selector for the username/email input. Auto-detected when omitted; the result reports which one was used. |