0
我想上传私钥到rundeck密钥存储,它与UI一起工作,我想从REST尝试这一点,对此有何建议?上传私钥到rundeck密钥存储
我想上传私钥到rundeck密钥存储,它与UI一起工作,我想从REST尝试这一点,对此有何建议?上传私钥到rundeck密钥存储
使用新的CLI工具。见https://rundeck.github.io/rundeck-cli/
的用量是如下
rd keys create help
Create a new key entry.
Usage: create options PATH
[--file -f value] : File path for reading the upload contents.
[--path -p value] : Storage path, default: keys/
[--prompt -p] : (password type only) prompt on console for the password value, if -f is not specified.
--type -t value : Type of key to store: publicKey,privateKey,password.
例如:
rd keys create --file id_rsa --path keys/myuser/id_rsa --type privateKey