Add support for SSH private key passphrases (#2331)
This adds support for encrypted SSH keys via passphrase. Co-authored-by: Louis Ruch <louisruch@gmail.com> Co-authored-by: Michael Gaffney <mgaffney@users.noreply.github.com>
This commit is contained in:
45 files changed
+1921
-382
No files matched your search
@@ -23,11 +23,15 @@ message UsernamePassword {
|
||||
string password = 20; // @gotags: `class:"secret"`
|
||||
}
|
||||
|
||||
// SshPrivateKey is a credential containing a username and a private key.
|
||||
// SshPrivateKey is a credential containing a username a private key and an optional
|
||||
// private key passphrase.
|
||||
message SshPrivateKey {
|
||||
// The username of the credential
|
||||
string username = 10; // @gotags: `class:"public"`
|
||||
|
||||
// The private key of the credential
|
||||
string private_key = 20; // @gotags: `class:"secret"`
|
||||
|
||||
// The optional passphrase of the private_key
|
||||
string private_key_passphrase = 30; // @gotags: `class:"secret"`
|
||||
}
|
||||
Reference in new issue
Block a user