mirror of
https://github.com/rancher/types.git
synced 2025-08-30 19:32:18 +00:00
hide ssh key in api
This commit is contained in:
parent
6b3463d9ba
commit
7d0bdbe04a
@ -167,7 +167,7 @@ type CustomConfig struct {
|
||||
// Optional - Docker socket on the node that will be used in tunneling
|
||||
DockerSocket string `yaml:"docker_socket" json:"dockerSocket,omitempty"`
|
||||
// SSH Private Key
|
||||
SSHKey string `yaml:"ssh_key" json:"sshKey,omitempty"`
|
||||
SSHKey string `yaml:"ssh_key" json:"sshKey,omitempty" norman:"type=password"`
|
||||
Label map[string]string `yaml:"label" json:"label,omitempty"`
|
||||
}
|
||||
|
||||
|
@ -53,7 +53,7 @@ type BastionHost 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"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user