1
0
mirror of https://github.com/rancher/types.git synced 2025-09-14 22:12:36 +00:00

set sshKey as password

This commit is contained in:
Daishan Peng
2018-09-05 22:17:22 -07:00
committed by Craig Jellick
parent 1ba55f6d2d
commit 325dce50b6

View File

@@ -142,7 +142,7 @@ type RKEConfigNode struct {
// SSH Agent Auth enable
SSHAgentAuth bool `yaml:"ssh_agent_auth,omitempty" json:"sshAgentAuth,omitempty"`
// SSH Private Key
SSHKey string `yaml:"ssh_key" json:"sshKey,omitempty"`
SSHKey string `yaml:"ssh_key" json:"sshKey,omitempty" norman:"type=password"`
// SSH Private Key Path
SSHKeyPath string `yaml:"ssh_key_path" json:"sshKeyPath,omitempty"`
// Node Labels