When you bind a service to your application credentials become available through the VCAP_SERVICES environment variable.
This environment variable contains JSON containing the credentials for all bound services.
Example VCAP_SERVICES environment variable
{
"push-reappt": [
{
...