Skip to main content
The allows you to create and manage secure credentials that your agent can use when automating apps. Store login information, API tokens, and other secrets without exposing them in your prompts.

Overview

The Credentials tab provides:
  • Secure storage for app credentials
  • Per-app credential organization
  • Encrypted secret management
  • Credential attachment for agent tasks

Security Model

Credentials are always encrypted at rest and in transit. The agent never has access to raw passwords or secrets.
When the agent needs to authenticate:
  1. The agent identifies a login field in the app
  2. It requests the credential from the secure vault
  3. The credential is injected directly into the field
  4. The raw value is never exposed to the agent’s context
This architecture ensures your secrets remain protected even during automated interactions.

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:
  1. Click Create credential (or Add next to an app that already has credentials). The New credential dialog opens.
  2. Select the app package name from your app library
  3. Enter a credential name: 3 to 50 lowercase letters, digits, _, or - (e.g., prod_account, test-user)
  4. Add the required fields (username, password, etc.)
  5. 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
  • Email
  • Password
  • Two-Factor Secret, as the current 2FA code
The agent can’t enter API Token, Phone Number, or Backup Codes fields during a task. You can still store them in a credential.

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.
  1. In the app’s 2FA settings, choose to set up an authenticator app.
  2. Copy the setup key (the TOTP secret) that the app shows, instead of scanning the QR code.
  3. Add the setup key as a Two-Factor Secret field on the app’s credential.
  4. Attach the credential to your task, as shown above.
When the agent reaches the 2FA screen, Mobilerun generates the current code and types it into the field. The agent never sees the secret or the code.
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 returns 422 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.

Best Practices