User-provided services
So far, we understand how to instantiate a new service from the marketplace and we understand how applications work with bound services through the VCAP_SERVICES
JSON object in the application environment variable. We will now visit user-provided services. With user-provided services, a developer is given the freedom to define a service instance that has custom service configuration data fields that their application will read in order to identify and connect to the resource. This is the simplest and least amount of work required to get started with connecting to a service that is external to your Cloud Foundry platform; however, be aware that user-provided services, once they are created, are service instances and are scoped within a space in Cloud Foundry. An application in another space will not see the user-provided service instance.
The command to create a user-provided service is cf create-user-provided-service <INSTANCE_NAME> [-p <CREDENTIALS>]
....