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
| Type | Use Case | Fields |
|---|---|---|
| SSH Private Key | Key-based SSH login to Linux hosts | Username, private key (PEM format), optional passphrase |
| SSH Password | Password SSH login, for legacy systems without key-based auth | Username, password |
SSH private key authentication is recommended for security and reliability.
Creating a Credential
- Go to Settings → Credentials
- Click Create Credential
- Enter a name. This is how the credential will be referenced in collection rulesets (e.g., "Production SSH Key", "Staging Password")
- Select the credential type (SSH Key or SSH Password)
- Fill in the authentication fields:
- For SSH Key: username, paste the private key content, optional passphrase
- For SSH Password: username and password
- Click Create
The credential is stored securely, never in the database or config files.
Updating a Credential
- Select the credential from the list
- Click Edit
- Update the fields as needed
- Click Save
Updating a credential changes nothing about collection on an appliance, which does not use stored credentials.
Deleting a Credential
- Select the credential from the list
- Click Delete
- 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
- A collection ruleset names a credential. The name is required and stored with the ruleset
- 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
- 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
- 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:
- User: the SSH user set when the OS collector was enabled on the appliance
- Key: the private key stored in the appliance's vault, read at the start of each cycle
- 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:
- Add the new public key to the SSH user's
authorized_keyson every target and on the jump host - Replace the key on the appliance (this needs the
collectors:writepermission): 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 - Remove the old public key from every target and from the jump host
- Add the new public key to the SSH user's
- The collection user needs read access to system information, not root. A ruleset whose become method is
sudoruns the collection script withsudo -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.
Related Documentation
- OS Collection: How the OS collector connects to targets
- Managing Collectors: Collector and source management
- RBAC Administration: Who can manage credentials