Skip to content

Latest commit

 

History

History
47 lines (21 loc) · 2.5 KB

bind-service-instances-to-applications-using-the-cloud-foundry-command-line-interface-296cd59.md

File metadata and controls

47 lines (21 loc) · 2.5 KB

Bind Service Instances to Applications Using the Cloud Foundry Command Line Interface

You can bind service instances to applications using the Cloud Foundry Command Line Interface (cf CLI).

Procedure

Open a command line and enter the following string:

cf bind-service APP-NAME SERVICE_INSTANCE [-c PARAMETERS_AS_JSON]

Specify the following parameters:

  • APP_NAME: Name of the application.

  • SERVICE_INSTANCE: Name of the service instance.

  • -c: (Optional) Provide service-specific configuration parameters either in a valid JSON object in-line or in a parameters file. This file reference can be an absolute or relative path to a file.

Related Information

Creating Service Instances

Creating Service Keys

About Services