admin管理员组文章数量:1123599
I had a interview question: How would you handle passwords that you are using in your test when pushing your code to remote repository? because the password should not be read by others. But the code should be running using passwords in remote repository. what are the ways can we use? could any one explain? Thanks.
I had a interview question: How would you handle passwords that you are using in your test when pushing your code to remote repository? because the password should not be read by others. But the code should be running using passwords in remote repository. what are the ways can we use? could any one explain? Thanks.
Share Improve this question asked 21 hours ago shivu2012shivu2012 214 bronze badges 3- very valid question, but the downvoters probably don't like that it's not about code. you should probably ask a search engine for immediate results. – user2023577 Commented 20 hours ago
- @user2023577 It IS about coding. You have to store the passwords somewhere and use code to retrieve them and/or decrypt the passwords. "Ask search engine for immediate results"... the same could be said for just about every question asked on SO. – JeffC Commented 15 hours ago
- nowadays yes. But there is no code in the question. There are other stack exchange sites among the 180+ to talk about computers and security. – user2023577 Commented 14 hours ago
1 Answer
Reset to default -1It depends on what you're trying to do. I've done it a few ways:
Use Windows Environment Variables. See the docs for more info.
Use Windows Credential Manager.
Store them in SQL.
版权声明:本文标题:java - How do we handle the passwords when pushing an automation scripts to remote repository? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736579748a1944934.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论