This project credential-service-client interpolates credentials persisted in credhub in a non-assisted mode using spring cloud libraries when you bind a broker service like credential-service-broker that leverages platform’s integrated credhub for credential management
Running PCF foundation or an active account in PWS
Service broker like credential-service-broker should already have been pushed to the platform. Refer the broker documentation for configuration and deployment.
-
Build it
mvn clean packageAfter building, you have to push the client app to Cloud Foundry
-
Login to cloud foundry
cf login -a <login_api_endpoint>-
Better to target
systemorganization
cf target -o <org> -s <space>-
Update manifest info (manifest.yml) to include the bind-service entry
applications:
- name: credentials-service-client
memory: 1G
path: target/credentials-service-client-0.0.1-SNAPSHOT.jar
services:
- credhub-svc-
cf push
|
Tip
|
Verify the results in a web browser |