Set cert/key fields in bbr plugin to 'text'
@@ -19,7 +19,7 @@ const (
func main() {
bbr := BBRPlugin{
- Name: "BBR Plugin",
+ Name: "BOSH Backup & Restore (BBR) Plugin",
Author: "Stark & Wayne",
Version: "1.0.0",
Features: plugin.PluginFeatures{
@@ -46,57 +46,57 @@ func main() {
Mode: "target",
Name: "director",
Type: "string",
- Title: "BOSH Director Host",
- Help: "The hostname or IP address of your BOSH director.",
+ Title: "BOSH Director",
+ Help: "The hostname or IP address of your BOSH Director.",
Required: true,
},
plugin.Field{
Mode: "target",
Name: "deployment",
Type: "string",
- Title: "BOSH Deployment Name",
- Help: "The name of the BOSH deployment to back up",
+ Title: "Deployment",
+ Help: "The name of the BOSH deployment to back up. Leave blank for director backups.",
},
plugin.Field{
Mode: "target",
Name: "ca_cert",
- Type: "string",
- Title: "BOSH Director CA Certificate",
+ Type: "text",
+ Title: "CA Certificate",
Help: "Certificate Authority X.509 Certificate that signed the BOSH Director's TLS certificate.",
},
plugin.Field{
Mode: "target",
Name: "bosh_username",
Type: "string",
- Title: "BOSH Director username",
- Help: "Username to authenticate to the BOSH director.",
+ Title: "BOSH Username",
+ Help: "Username for authenticating to the BOSH Director.",
},
plugin.Field{
Mode: "target",
Name: "bosh_password",
Type: "password",
- Title: "BOSH Director Password",
- Help: "Password to authenticate to the BOSH director.",
+ Title: "BOSH Password",
+ Help: "Password for authenticating to the BOSH Director.",
},
plugin.Field{
Mode: "target",
Name: "system_username",
Type: "string",
- Title: "System (VM) Username",
+ Title: "VM Username",
Help: "Username to SSH to the BOSH Director as (director backups only).",
},
plugin.Field{
Mode: "target",
Name: "system_key",
- Type: "string",
- Title: "BOSH director vm private ssh key",
+ Type: "text",
+ Title: "VM Private Key",
Help: "RSA Private Key for the System user.",
},
plugin.Field{
Mode: "target",
Name: "bindir",
Type: "abspath",
- Title: "Path to BBR bin/ directory",
+ Title: "BBR bin/ Path",
Help: "The absolute path to the bin/ directory that contains the `bbr` command.",
Default: "/var/vcap/packages/bbr/bin",
},
