Skip to Content
Parascope Docs

Managing Credentials

Create, update, and manage the stored SSH credentials that OS collection rulesets name.

Parascope stores SSH credentials securely in its built-in credential store, and an OS collection ruleset names one. On an appliance the OS collector does not apply a stored credential: it connects with the appliance's own SSH user and key (see How Credentials Connect to Collection). The credential management page lets you create, update, and manage these stored credentials.

Accessing Credential Management

Navigate to Settings → Credentials to manage stored credentials.

Credential Types

TypeUse CaseFields
SSH Private KeyKey-based SSH login to Linux hostsUsername, private key (PEM format), optional passphrase
SSH PasswordPassword SSH login, for legacy systems without key-based authUsername, password

SSH private key authentication is recommended for security and reliability.

Creating a Credential

  1. Go to Settings → Credentials
  2. Click Create Credential
  3. Enter a name. This is how the credential will be referenced in collection rulesets (e.g., "Production SSH Key", "Staging Password")
  4. Select the credential type (SSH Key or SSH Password)
  5. Fill in the authentication fields:
    • For SSH Key: username, paste the private key content, optional passphrase
    • For SSH Password: username and password
  6. Click Create

The credential is stored securely, never in the database or config files.

Updating a Credential

  1. Select the credential from the list
  2. Click Edit
  3. Update the fields as needed
  4. Click Save

Updating a credential changes nothing about collection on an appliance, which does not use stored credentials.

Deleting a Credential

  1. Select the credential from the list
  2. Click Delete
  3. Confirm the deletion

A ruleset still needs a credential name to be saved. Deleting a credential that a ruleset names does not stop that ruleset's collection on an appliance, which connects with its own key.

How Credentials Connect to Collection

Rendering diagram...
  1. A collection ruleset names a credential. The name is required and stored with the ruleset
  2. On an appliance, the OS collector connects to every target, and to a jump host, as the SSH user configured on the appliance's OS collector, with the SSH key held in the appliance's vault
  3. Parascope sends no stored credential to an appliance. The rulesets list, the ruleset form and the preview mark a ruleset's credential Not applied on appliance, and the form and the preview name the identity each appliance uses instead, for a jump host too
  4. Credentials are never logged or exposed in collection results

Which Identity an Appliance Uses

When the OS collector on an appliance connects to a target:

  1. User: the SSH user set when the OS collector was enabled on the appliance
  2. Key: the private key stored in the appliance's vault, read at the start of each cycle
  3. No key: if the vault is locked or no key is configured, the cycle makes no connection and fails with appliance_ssh_key_unavailable. There is no password fallback, and no fallback to a stored credential

See OS Collection for the warning the ruleset form shows.

Security Best Practices

  • Use a dedicated service account as the appliance's SSH user rather than a personal account
  • On every target, and on the jump host, authorize the appliance's public key for that user, and give the user no more than collection needs
  • Rotate the appliance's key periodically, in this order so collection keeps working throughout:
    1. Add the new public key to the SSH user's authorized_keys on every target and on the jump host
    2. Replace the key on the appliance (this needs the collectors:write permission): on the Collectors page open the Sources tab, select the appliance's OS source, and under Credentials click Replace Credentials. Enter the SSH user and the new private key, along with every other field the form shows, including the ones you are not changing: the appliance replaces the whole set it holds for the OS collector. Click Save Credentials. The appliance stores the new key in its vault and restarts the OS collector. If the appliance cannot be reached, an error says so: replace the credentials again once it is online
    3. Remove the old public key from every target and from the jump host
  • The collection user needs read access to system information, not root. A ruleset whose become method is sudo runs the collection script with sudo -n, so the user then needs passwordless sudo on every target that ruleset reaches

Do not rotate by adding a second OS source and deleting the first. Deleting the last OS source on an appliance stops the OS collector there, which stops OS collection on that appliance, ruleset targets included, and deletes the key from the appliance's vault. An appliance on an older version stops the collector but keeps the key; the message shown after the delete says which happened. If an appliance still has two OS sources from an earlier rotation, deleting one of them leaves the collector and its key in place for the other.