The issue is present in lower versions of SCS and has been fixed in 3.1.32+.
To work around this issue, do the following:
Spring Cloud Services cf CLI plugin
If using
Spring Cloud Services cf CLI plugin, add a trailing period to the secret name:
foo.bar. creates (or overwrites)
foo.bar.
cf cs-add service app/default/master/foo.bar. '{"key":"value"}'
-> /c/p.spring-cloud-services-scs-service-broker/config-server-00000000-0000-0000-0000-000000000000/app/default/master/foo.bar
Config Server API
If using
Config Server API, add a trailing slash to the query,
[...]/foo.bar/, creates (or overwrites)
foo.bar.
curl https://config-server-00000000-0000-0000-0000-000000000000.lab.local/secrets/app/default/master/foo.bar/ -iks -H "Authorization: $(cf oauth-token)" -X PUT --data '{"key":"value"}' -H "Content-Type: application/json"
-> /c/p.spring-cloud-services-scs-service-broker/config-server-00000000-0000-0000-0000-000000000000/app/default/master/foo.bar