feat(sftp): add suport for passphrase of private key (#6624 close #6592)

Co-authored-by: XZB <i@1248.ink>
This commit is contained in:
XZB-1248
2024-06-28 23:50:00 +08:00
committed by GitHub
parent 453d7da622
commit 227d034db8
2 changed files with 9 additions and 2 deletions

View File

@ -10,6 +10,7 @@ type Addition struct {
Username string `json:"username" required:"true"`
PrivateKey string `json:"private_key" type:"text"`
Password string `json:"password"`
Passphrase string `json:"passphrase"`
driver.RootPath
IgnoreSymlinkError bool `json:"ignore_symlink_error" default:"false" info:"Ignore symlink error"`
}