-
Notifications
You must be signed in to change notification settings - Fork 116
Add fields for TLS material to destination config #340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -707,6 +707,13 @@ type Destination struct { | |
| // Identity file with ssh key, optional | ||
| Identity string `json:",omitempty" toml:"identity,omitempty"` | ||
|
|
||
| // Path to TLS client certificate PEM file, optional | ||
| TLSCertFile string `json:",omitempty" toml:"tls_cert_file,omitempty"` | ||
| // Path to TLS client certificate private key PEM file, optional | ||
| TLSKeyFile string `json:",omitempty" toml:"tls_key_file,omitempty"` | ||
| // Path to TLS certificate authority PEM file, optional | ||
| TLSCAFile string `json:",omitempty" toml:"tls_ca_file,omitempty"` | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry, one last nit, can we change these to just
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
|
|
||
| // isMachine describes if the remote destination is a machine. | ||
| IsMachine bool `json:",omitempty" toml:"is_machine,omitempty"` | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same for here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done