diff --git a/cmd/cloudFoundryCreateServiceKey.go b/cmd/cloudFoundryCreateServiceKey.go index 5b8e5398d..d03022bb8 100644 --- a/cmd/cloudFoundryCreateServiceKey.go +++ b/cmd/cloudFoundryCreateServiceKey.go @@ -62,7 +62,7 @@ func runCloudFoundryCreateServiceKey(config *cloudFoundryCreateServiceKeyOptions if config.CfServiceKeyConfig == "" { cfCreateServiceKeyScript = []string{"create-service-key", config.CfServiceInstance, config.CfServiceKeyName} } else { - cfCreateServiceKeyScript = []string{"create-service-key", config.CfServiceInstance, config.CfServiceKeyName, "[-c", config.CfServiceKeyConfig, "]"} + cfCreateServiceKeyScript = []string{"create-service-key", config.CfServiceInstance, config.CfServiceKeyName, "-c '", config.CfServiceKeyConfig, "'"} fmt.Println(cfCreateServiceKeyScript) }