How to safely store passwords on a Linux server
by Jack Wallen in Security
on April 7, 2022, 11:47 AM PDTIf you work on headless Linux servers, you might want to have a command-line password storage tool. Jack Wallen shows you how to use GnuPG and pass for this purpose...
The article is too long to copy much more of it here.