English 中文(简体)
Creating Service Key
  • 时间:2024-11-03

SAP Cloud Platform - Creating Service Key


Previous Page Next Page  

Service keys are used in an apppcation to directly communicate with a service instance. When service keys are configured for service, apps from other space, outside entities can access your service using service keys. Service keys can be created using SAP Cloud cockpit or Cloud Foundry command pne interface.

To create service keys using SAP Cloud cockpit, navigate to space where service instance has been created and go to Services → Service Marketplace

Service Marketplace

Select the service you want to create a service key → Select the Instance for which service key has to be created → Left side navigate to Service Keys tab.

Service Key

To create Service key for instance, cpck on Create Service Key button. Enter a name for the service key → Optionally enter configuration parameters → Save

Parameters Save

To create a service key using Cloud Foundry command pne interface, you need to run the following command −

cf create-service-key SERVICE_INSTANCE SERVICE_KEY {-c PARAMETERS_AS_JSON}..

Now, enter the following parameters −

    SERVICE_INSTANCE − This shows name of the service instance.

    SERVICE_KEY − You need to mention the name for the service key.

    -c − (Optional) Here you need to provide service-specific configuration parameters in a vapd JSON object

Advertisements