Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

通过环境变量指定密钥 #377

Open
capraynor opened this issue Mar 6, 2023 · 2 comments
Open

通过环境变量指定密钥 #377

capraynor opened this issue Mar 6, 2023 · 2 comments
Labels
enhancement Anything around developer experience or feature request.

Comments

@capraynor
Copy link

需求描述

我正在使用以下命令:

qshell qupload2 

但是在这之前我需要使用qshell account将各种密钥添加在我当前运行的电脑中(db文件)。

将密钥存储在硬盘上非常危险。能否提供一个环境变量,以设置各种access key?

非常感谢

Raynor

@capraynor capraynor changed the title 通过环境变量制定密钥 通过环境变量指定密钥 Mar 6, 2023
@YangSen-qn
Copy link
Contributor

@capraynor 秘钥保存时是经过加密的,具有一定安全性,不过通过环境变量方式指定秘钥的需求我们后续会考虑支持,感谢您的建议。

@bachue bachue added the enhancement Anything around developer experience or feature request. label Mar 14, 2023
@capraynor
Copy link
Author

capraynor commented Mar 14, 2023

秘钥保存时是经过加密的

有一个问题,我们把存密码的DB拷贝到另外一个机器上是不是那个机器就能用这个密码了。

如果这样其实跟没有加密是一样的。

另外,如果说用环境变量的话,我建议还是使用参数来指定密钥,用户自己会知道可以在参数中使用环境变量。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Anything around developer experience or feature request.
Projects
None yet
Development

No branches or pull requests

3 participants