Skip to content

Latest commit

 

History

History
32 lines (17 loc) · 1.09 KB

vcapsvc.md

File metadata and controls

32 lines (17 loc) · 1.09 KB
copyright lastupdated
years
2015, 2018
2017-12-11

{:shortdesc: .shortdesc}

VCAP services

{: #vcap_services}

The VCAP_SERVICES (VMware Cloud Application Platform) environment variable is a JSON object that contains information that you can use to interact with a service instance in {{site.data.keyword.Bluemix_notm}}. {:shortdesc}

Retrieving the value of the VCAP_SERVICES environment variable

{:retrieving}

The VCAP_SERVICES environment variable is a JSON object that contains information that you can use to interact with a service instance in {{site.data.keyword.Bluemix_notm}}. The information includes service instance name, credential, and connection URL to the service instance. These values are populated into the VCAP_SERVICES environment variable when your application is bound to a service instance in {{site.data.keyword.Bluemix_notm}}.

The value of the VCAP_SERVICES environment variable is available only when you bind a service instance to your application. You can view the application environment variables by using the following command:

cf env APP_NAME