TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How to securely manage credentials in shell scripts?

1 点作者 iMario3 天前
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 条评论

iMario2 天前
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.
bonki3 天前
What is your use case? Both vault and pass are viable options.