Overview
The Credentials tab provides:- Secure storage for app credentials
- Per-app credential organization
- Encrypted secret management
- Credential attachment for agent tasks
Security Model
When the agent needs to authenticate:- The agent identifies a login field in the app
- It requests the credential from the secure vault
- The credential is injected directly into the field
- The raw value is never exposed to the agent’s context
Credential Structure
Credentials are organized by app package name. Each credential can contain multiple fields:Creating Credentials
To add credentials for an app, open the credential dialog:- Click Create credential (or Add next to an app that already has credentials). The New credential dialog opens.
- Select the app package name from your app library
- Enter a credential name: 3 to 50 lowercase letters, digits,
_, or-(e.g.,prod_account,test-user) - Add the required fields (username, password, etc.)
- Click Save credential
You can create multiple credentials per app. This is useful for testing different account types or environments.
Managing Credentials
View Credentials
Your credential list shows:- App package name
- Credential name
- Field types configured (without revealing values)
Edit Credentials
Update credential fields when passwords change or tokens expire. Click on any credential to modify its fields.Delete Credentials
Remove credentials that are no longer needed. This action is permanent and cannot be undone.1Password and payment cards
If you use 1Password, connect it and grant its service account Read access to a vault to link logins and payment cards from there instead of saving a copy in Mobilerun. Linked credentials show as Linked from 1Password and stay managed in 1Password; each selected item is read from 1Password once when a task uses it. Payment cards can be linked from 1Password the same way, for use in tasks.Using Credentials in Tasks
Attach credentials to your agent tasks to enable authenticated automation:In the Task runner
Select the credentials to use in the credential picker before running your task. Mobilerun fills them in when the task reaches a login screen.Via API
Specify credentials in your task configuration:Fields available to the agent
During a task, the agent can enter only these field types:- Username
- Password
- Two-Factor Secret, as the current 2FA code
Two-factor codes
If an app asks for a code from an authenticator app, the agent can enter it for you. Add a Two-Factor Secret field to the credential and attach the credential to your task.- In the app’s 2FA settings, choose to set up an authenticator app.
- Copy the setup key (the TOTP secret) that the app shows, instead of scanning the QR code.
- Add the setup key as a Two-Factor Secret field on the app’s credential.
- Attach the credential to your task, as shown above.
The agent can enter a two-factor code at most 3 times per task. If the code is rejected more often than that, the task can’t complete 2FA. Check that the stored secret matches the app’s current authenticator setup.
Multiple Credentials
You can attach credentials for multiple apps in a single task. The agent will use the appropriate credential based on which app it is interacting with.Validation errors
Task creation validates attached credential references before the task runs. A credential missing from your account returns422 with Credential missing or changed; choose it again; reselect it and retry. If the credentials service is unavailable, the request returns 503 with Credentials could not be validated; retry the task. No task is created with unresolved references.