Spring cloud service config server uses credhub as backend to store git, vault or composite properties. These properties are also shown in the Config Server dashboard.
The configured properties for config server are stored in CredHub as json payloads under:
/c/p.spring-cloud-services-scs-mirror-service/<MIRROR-SI-ID>/credentials
Accessing credhub in labs require to remove the environment variables:
unset CREDHUB_CA_CERT
unset CREDHUB_SERVER
unset CREDHUB_SECRET
unset CREDHUB_CLIENT
1. Get TAS credhub VM IP with bosh -d cf-xxx vms command and set target for credhub cli:
credhub api https://x.x.x.x:8844/api/ --skip-tls-validation
2. Login to credhub:
credhub login --client-name=credhub_admin_client --client-secret=xyz**xyz
3. Use credhub commands "get" and "find"
credhub find -n /c/p.spring-cloud-services-scs-mirror-service/
credhub get -n /c/p.spring-cloud-services-scs-mirror-service/<MIRROR-SI-ID>/credentials