Figure SEC-5 · Device credentials
Where a device secret comes from
Resolved at connection time from one of three sources, held in memory, then discarded
Backup job
Queue worker
Does the device have a credential set?
No
Yes, local set
Yes, vault set
Device record
Password and enable password, encrypted with APP_KEY in the database
Credential set
Password, enable password, SSH key and passphrase, encrypted with APP_KEY
Key vault
HashiCorp Vault, Idira (CyberArk), Delinea
HTTPS · read on every connection, nothing cached
Outside rConfig, reached over HTTPS
decrypt
fetch
Secret in memory
For this session only, then discarded
SSH / Telnet login
Network device
192.0.2.10
Never written here
The secret does not land in any of these
Saved config files
Application and activity logs
API responses when credentials are masked
The vault cache (there is none)
Snippet pushes can use a separate credential set