TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How to securely manage credentials in shell scripts?

1 pointsby iMario12 days ago
I need to improve security over a set of shell scripts which have hardcoded credentials. I’m wondering what is the state of the art on this subject. I’ve read about gpg, hashicorp vault, pass command, but still wonder what you guys are doing.

2 comments

iMario12 days ago
I have a bunch of scripts and a bunch of sysadmins who do not need to know those credentials but should based on their username be able to use the scripts. Those scripts query specific aspects of network infrastructure up to now via ssh.
bonki12 days ago
What is your use case? Both vault and pass are viable options.