{ "git":
{ "uri": "https://github.com/github-account/app-config",
"label": "master",
"username": "enterprise-username",
"password": "user-access-token-string"
}
}
Then you can pass use this command, referencing the JSON file:
cf update-service <config-server-name> -c parameters.json
Instead of using a file, you can pass the JSON on the command line, like so:
cf update-service <config-server-name> -c '{"git": {"uri": "https://github.com/github-account/app-config", "label": "master", "username": "enterprise-username", "password": "user-access-token-string" } }'