Upon rotating the ssh key in git, we need to update the scs instance.
In SCS, if one git is used, it is straight forward as explained below.
https://techdocs.broadcom.com/us/en/vmware-tanzu/spring/spring-cloud-services-for-cloud-foundry/3-3/scs-tanzu/config-server-configuring-with-git.html
https://knowledge.broadcom.com/external/article?articleNumber=394186
TAS
SCS
The git repository has rotated the ssh key
If two git repositories are used, run the following command to update the SCS instance.
cf update-service config-server-instance -c '{ "composite": [ { "type": "git", "uri": "https://github.com/spring-cloud-services-samples/cook-config","privateKey": "-----BEGIN OPENSSH PRIVATE KEY-----\nb3BlbnNzaCxxxxxxxxxxxxxbQECAwQF\n-----END OPENSSH PRIVATE KEY-----\n","searchPaths":""} , { "type": "git", "uri": "https://github.com/spring-cloud-samples/config-repo","privateKey": "-----BEGIN OPENSSH PRIVATE KEY-----\nb3BlbnNzaCxxxxxxxxxxxxxbQECAwQF\n-----END OPENSSH PRIVATE KEY-----\n","searchPaths":"" }]}'