Credential Store: saved SNMP, SSH and HTTP credentials
What it is
The Credential Store keeps the credentials of your network equipment in one place so you type them once and reuse them everywhere: the Auto-Provision Wizard, monitoring, remote consoles and digital signage deployments. Everything is encrypted at rest (Fernet/AES) on the server.
One stored credential can hold several sections — fill only what you need; empty sections are not stored:
- SNMP v2c — “Community String”.
- SNMP v3 (USM) — “Username”, “Auth Protocol” (MD5, SHA, SHA-224/256/384/512), “Auth Key”, “Privacy Protocol” (None, DES, AES-128/192/256), “Privacy Key”.
- SSH — “Username”, “Password”, “Enable Password (optional)” and, since v1.204.129, a “Private key (optional)”: paste the private key (OpenSSH or PEM format: ed25519, RSA of at least 2048 bits, or ECDSA) or Load from file. If the key is protected by a passphrase, type it in “Key passphrase”: it is used only once, to read the key while saving, and it is not stored. A credential may have a password, a key, or both.
- HTTP / Web UI — “Username”, “Password” (used, for example, by SpinetiX signage players).
Admin only.
How to manage credentials
- Open Configuration → Settings in the top bar and choose Stored Credentials.
- Click New Credential, give it a Name (e.g. “Branch switches – RO community”) and fill the sections you need. Click Save. A key that cannot be read is refused with a clear message (not a private key, encrypted key without passphrase, wrong passphrase, RSA key too short, or more than one key pasted).
- The table lists each credential with its “Name”, “Sections” (“SSH” means a password is stored; “SSH key” means a private key is stored) and “Created” date. Edit opens it again; Delete removes it after confirmation.
When you edit a credential that holds a key, the form shows Private key stored:
Where they get used
- Auto-Provision Wizard — pick a stored credential in the Discovery step instead of typing the community/SSH each scan (SSH scans use the password; a credential that only has a key is not offered there).
- Wireless / UPS / Observatory — devices discovered with a stored credential inherit it for ongoing polling.
- Remote consoles (Terminal, Run on: Primary agent) — when a device has no saved credentials, the SSH credentials dialog lets you pick a stored credential; the ones with a key are marked (key). The Primary agent logs in with the key (and falls back to the password if both are stored). Needs Primary agent 2.38.0 or later; an older agent is refused with “needs an update”. See [[crearack—terminal—sesiones-ssh]].
- Digital Signage — deployments to SpinetiX players use the HTTP section.
In day-to-day operations the secrets stay server-side: when the Local Agent needs a credential it fetches it through its own authenticated channel by id, so scans of several devices never load the secrets into your browser. The one exception is picking a stored credential for a single device in Auto-Provision: then the form is filled with its values, which needs network edit permission. The stored private key is never sent back to the browser.
Good practices
- One credential per population of devices (per site, per vendor), not per device — that is what makes reuse pay off.
- Prefer SNMPv3 over v2c where your hardware supports it, and SSH keys over passwords on servers that accept them.
- When a shared password or key rotates, edit it here once and use it for the next discoveries. A device already added keeps the copy of the credential it received when it was discovered, so update it there too.
- Keys from the store are used only by the Primary agent for remote consoles; consoles opened from This PC and device cards keep using passwords.
Related
- [[crearack—network—auto-provision-wizard]] — using stored credentials in discovery
- [[crearack—terminal—sesiones-ssh]] — remote consoles with stored credentials and keys
- [[crearack—settings—user-management]] — who can manage the store