Skip to content
User Guide

Manage → Configuration → Credentials

Reached from Manage via the Configuration entry at the bottom of the browse tree.

Service account credentials used by MisterShell to authenticate with your resources. Each credential has a type that determines which fields are shown in the form. A single Username / Password credential works across SSH, RDP, web, database, and VNC targets, with optional Enable Password (privileged-exec on network devices) and Domain (Windows / AD) fields. Other types cover key- and API-based authentication — SSH Key, AWS Credentials, Azure Service Principal, and Kubeconfig. No Authentication is a built-in entry for targets that need no credentials; it cannot be created, edited, or deleted.

Your saved template credentials and independent personal/team credentials live under Account → Personal Vault. This tab manages the service account credentials assigned to resources and used by automation.

What you can do

  • Create, edit, and delete service account credentials.
  • Filter by credential type and search by name or description.
  • Read credential fields from an existing external vault, including paths based on resource, location, or user information.
  • Choose whether a credential is used directly or requires personal credentials for interactive sessions, saved in the account or entered at connection time.

Common tasks

Create a credential

  1. Click Create credential at the top right.
  2. Fill the form:
    • Name — a descriptive label (e.g., “Corporate Linux root”).
    • Credential type — pick the credential type. The type cannot be changed after creation.
    • Description — optional notes visible to other users.
    • Platform Credential — choose Local and enter the service account values, or choose External vault and map its fields; see Use an external vault. Locally supplied secret values are stored encrypted.
    • Require user credential for interactive sessions — turn on to show the User Credential tab. Choose its source independently; see Sharing model below. Both tabs use the same credential type.
  3. Click Create.

Edit a credential

  1. Click the blue pencil icon on the row.
  2. Update any field except the type.
  3. Click Update. Re-entering a secret is optional; leaving it blank keeps the stored value.

Delete a credential

  1. Click the red trash icon.
  2. Confirm in the dialog.

A credential cannot be deleted while resources reference it. Assign a replacement to those resources before deleting it.

The built-in No Authentication entry has no edit or delete controls — it is a system-provided credential that always exists and cannot be changed.

Use an external vault

Requires the Pro edition. First ask an administrator to configure the provider under Settings → Users & Roles → External Vaults.

  1. Create or edit a service account credential. Choose its usual Credential type, such as Username / Password or SSH Key.
  2. Open Platform Credential, set Source to External vault, and select a vault. This tab supplies onboarding checks and unattended operations, plus interactive sessions when no user credential is required.
  3. Check … from vault for each field to retrieve. Secret fields are checked by default. Also check Username from vault to retrieve the login, or uncheck a field to enter a literal value. At least one field must be mapped. Supply any remaining required values in this tab.
  4. Fill Platform reference with the secret location and each field reference. Changing the selected vault resets that tab’s references; its compatible literal values are retained.
  5. To configure a separate source for operators, turn on Require user credential for interactive sessions and open User Credential. Choose Local for the standard personal credential template, or External vault and configure its vault, mapped fields, User reference, and remaining literal values independently.
  6. Check the references as described below, then click Create or Update.
  7. Select this credential when adding or editing a resource.

Either tab can use Local or External vault. For example, keep the platform password in HashiCorp Vault while users enter their own local credentials, or use AWS Secrets Manager for platform access and OpenBao for user access. The two tabs can use the same vault, different vaults, or different providers. They share one credential type; values and mappings belong to their own tab.

Retrieved values are used for the connection without being saved to the credential record. Enter a secret’s path or field name in a reference, not the password itself. To avoid storing resource secrets locally, map every secret field you need. This feature reads credentials; it does not create or rotate secrets in the external provider.

Changing Platform Credential does not remove users’ saved credentials. Changing User Credential from Local to External vault asks for confirmation before saving: all saved personal credentials for that template will be removed. Changing User back to Local lets users supply new credentials; it does not restore the removed values.

Mapping examples

These examples use Username / Password for a resource named router-paris-01. Check Username from vault and Password from vault. Create the example secrets in your provider first, with your actual login values.

ProviderSecret stored in the providerPlatform reference fields
HashiCorp VaultIn the configured secret KV mount, path network/router-paris-01 contains keys username and password.path: network/{{ resource.name }}; username field reference: username; password field reference: password. Leave version blank for the latest value; an integer selects a specific KV v2 version.
OpenBaoIn the configured secret KV mount, path devices/router-paris-01 contains keys login and pass.path: devices/{{ resource.name }}; username field reference: login; password field reference: pass. Leave version blank, or select a KV v2 version.
AWS Secrets ManagerSecret network/router-paris-01 contains a JSON object with keys username and password.secret_id: network/{{ resource.name }}; version_stage: AWSCURRENT; username field reference: username; password field reference: password.
Azure Key VaultTwo secrets, router-paris-01-username and router-paris-01-password, contain the respective values.username field reference: {{ resource.name }}-username; password field reference: {{ resource.name }}-password. No base path is needed.

For HashiCorp Vault and OpenBao, the KV mount belongs to the vault configuration. Do not repeat the mount or add /v1 or /data to the mapping’s path. Field references select keys in the secret. Path segments accept letters, digits, and _ . @ -, separated by /; spaces, empty segments, . or .. segments, and reserved segments auth, sys, identity, and cubbyhole are rejected.

For AWS, secret_id accepts a name of up to 512 characters using letters, digits, and /_+=.@-, or a full Secrets Manager ARN. Spaces are rejected. Leave version_stage blank to use the current version. A field reference of $ reads the entire secret text rather than a JSON key; this is useful for a private key or kubeconfig stored as text. Binary secrets are not supported.

For Azure, append /version to a field reference to select a specific version, such as router-paris-01-password/<version>. Leave it off for the latest version. The field reference selects a whole secret value, not a key inside JSON. Azure secret names accept 1–127 letters, digits, or hyphens; a version is a 32-character hexadecimal identifier. Spaces are rejected.

Use resource, location, and user values in references

Reference text supports the same Jinja2 expressions and filters used elsewhere in MisterShell. Both base references and field references can contain templates. These values are available:

ValueMeaning
resource.nameName explicitly entered when onboarding or editing the resource. Enter it before verification if the mapping uses it.
resource.connector_idConnection method identifier, such as ssh.
resource.connector_dataConnection attributes supplied by the user, such as resource.connector_data.host when a host was entered. Available keys depend on the connection method and supplied values.
location.nameName of the selected location.
location.pathHierarchical path of the selected location.
user.id, user.email, user.first_name, user.last_name, user.external_idCurrent user’s populated attributes. Available in User reference only.

Resource values come from user-supplied inputs, before the first connection. Resource identifiers assigned by MisterShell, discovered names, detected resource types, facts, observed fingerprints, and generated defaults are not available. A selected location is required during onboarding, so location references can be used for the first connection too. For an existing resource whose inputs have not been recorded, confirm the needed values in its edit form and verify again.

For example, a KV path based on location and resource name, replacing spaces with hyphens. Make sure the resulting names match how your secrets are stored:

{{ location.path | replace(' / ', '/') | replace(' ', '-') | trim('/') }}/{{ resource.name | replace(' ', '-') }}

A user-specific KV path:

users/{{ user.email }}/network/{{ resource.name }}

Use this KV path only when emails contain letters, numbers, _, ., @, or -. Other email characters, including + and /, require a different secret path; JWT authentication still uses the exact email.

An Azure secret name based on a lowercased resource name:

{{ resource.name | lower }}-password

Jinja filters can also format values with tojson():

{{ {'resource': resource.name, 'location': location.name} | tojson() }}

This produces JSON text, not a nested mapping. Use it only where that text is a valid provider reference or field key; Azure secret names, for example, do not accept JSON. Templates produce strings; the optional KV version remains a number. Missing required context prevents resolution. Per-user JWT authentication uses the exact email address. Review vault aliases, permissions, and paths when an address changes or is reassigned.

Changing a resource name, submitted connection input, or location can change the secret selected by a template. Check the resulting reference and repeat resource verification before saving those changes.

Check a reference without displaying secrets

With app.auth_providers.write, the reference editor includes Resolve reference:

  1. Expand Resolve reference under Platform reference or User reference.
  2. For a user reference, enter the intended User email, even if the reference contains no user placeholders.
  3. If the mapping uses resource or location values, turn on Supply onboarding sample inputs. Enter Resource name, Connector ID, Submitted connector data (JSON), and Location. For an SSH host, the JSON might be {"host":"router-paris-01.example.com"}. You need resource-read permission at that location.
  4. Click Resolve. Review the rendered reference, identity/login/read status, and present or missing fields.

This reads the provider without using cached values, but never displays the secret values. It checks the reference, not whether the credentials authenticate successfully to the resource; use the resource’s Verify action for that. Sample inputs let you check paths before a resource has been created.

Sharing model

The User column shows how interactive users obtain their credentials. Enable Require user credential for interactive sessions to configure a separate user credential.

UserMeaning
Not requiredThe setting is off. Interactive sessions use the platform credential.
LocalThe setting is on. Each user supplies their own credential when connecting, or saves it beforehand in Account → Personal Vault.
Vault nameThe setting is on. User credentials are read from this external vault using the user reference.

The built-in None credential is for resources that require no authentication.

When the setting is off, interactive sessions use Platform Credential. When it is on, they use the source selected in User Credential. A Local user source offers the standard personal template even when the platform source is external. An external user source shows Provided by… and Check in Personal Vault. User references use the selected vault’s service identity or, for HashiCorp Vault/OpenBao, its configured per-user JWT identity.

Service account credentials remain required when template mode is enabled. Snapshots, automation and MCP device actions continue using the local service account details or external platform reference. Saved local user credentials are separate and are not combined with the service account values. For external sources, unmapped literal fields apply only to their own tab.

This setting applies to all resources using this credential. Turning it off makes new interactive connections use the platform credential and retains the saved user configuration and local personal credentials. Turning it on again restores that configuration. If you edit the User tab and then turn the setting off before saving, those unsaved user edits are not applied. Resource permissions, transport trust and connection/file policies remain authoritative.

With a Local user source, a user’s saved credential is used automatically. Without one, Authentication required offers Enter manually or a compatible personal/team credential through Use vault. A vault selection can have a different credential type if the resource and connection mode support it; it does not save a credential for the template.

For supported live connections using a Local template, Remember this credential saves a manual entry after authentication succeeds. Explicit authentication failures reopen the prompt. If a saved credential fails, Update saved credential is checked and read-only: submitting updates that user’s saved credential before reconnecting. Web connections do not support automatic saving or authentication-failure correction. Users can also edit or clear their saved credentials in Personal Vault.

An External vault template resolves the user reference automatically; only a missing secret or mapped field can offer temporary credential entry. Provider outages, access denials, disabled vaults, and invalid configuration do not offer that fallback. Temporary credentials are not saved for the external template.

Reusable terminal/file sessions can be attached without another prompt. File browsing and transfers use their own credential prompts; the live-session remember/correction behavior does not apply universally. Transfer batches open separate transports and can ask again. Supported up-front tokens/OTP values can be entered; this does not add multi-round challenge/response support.

Requiring a user credential does not guarantee a unique remote account: users may select the same team vault entry, or external user references may resolve to a shared login. Session records identify the MisterShell operator; target-side attribution depends on the remote login used.

Table columns

ColumnNotes
NameThe credential’s display name.
TypeBadge showing the credential type. The built-in entry shows a System — No Authentication badge instead.
PlatformLocal or the vault supplying platform credentials.
UserLocal, the vault supplying user credentials, or Not required.
Interactive sessionsService account, User credential required with a Template badge, or No authentication.
DescriptionFree-text description.
ResourcesNumber of resources using this service account credential; select it to review and reassign resources.
ActionsEdit and Delete buttons (hidden for the built-in No Authentication entry).

Permissions

  • Read: app.credentials.read.
  • Create / edit: app.credentials.write.
  • Delete: app.credentials.delete.