Introduction
Prerequisites
Task 1: Set up a new namespace
Steps
Create the namespace
In this task, you will set up a new, clean namespace with the name service-management by following these steps:
From the SAP BTP cockpit, follow the link to Kyma dashboard.
Navigate to Namespaces and click Create.
In the Name field, enter service-management and click Create.
You will see the details of the service-management namespace in Kyma dashboard. Its status should be "active".
Task 2: Create a Service Instance using Kyma dashboard
Steps
In this task, you will create a Service Instance with the SAP Credential Store service by following these steps:
Go to Service Instances and click Create.
Enter the following mandatory parameters:
Name: credential-store
Offering Name: credstore
Plan Name: free
Note
If you use a different service, you can check for the parameters Offering Name and Plan Name in the Service Marketplace of the SAP BTP cockpit.Click Create.
You will see the Service Instance in Kyma dashboard. Its status should be "Provisioned".
Task 3: Check the Service Instance in the SAP BTP Cockpit
Steps
In this task, you will verify that the Service Instance you set up in your Kyma dashboard has also been successfully created in your SAP BTP cockpit.
Navigate to your SAP BTP cockpit and then go to Services → Instances and Subscriptions.
Check if the instance credential-storeis displayed in the list of instances. If it isn't, navigate back to your Kyma dashboard to double check that the status of your set up Service Instance is Provisioned.
Note
You can only manage Service Instances and Service Bindings in Kyma dashboard. If you want to delete them, you can't do it in the SAP BTP cockpit. Instead, you must use Kyma dashboard. However, if you want to check service details, like service names or plans, you can do so in the SAP BTP cockpit.
Task 4: Create a Service Binding using Kyma dashboard
Steps
In this task, you will create a Service Binding for the Service Instance you just set up. This will automatically create a Kubernetes Secret with the binding metadata and credentials. Follow these steps:
In Kyma dashboard, go to your credential-store Service Instance.
Navigate to Service Bindings and click Create.
Enter the following required parameters:
Name: credstore-binding
Service Instance Name: credential-store
Click Create.
You will see the credstore-binding Service Binding in Kyma dashboard. Its status should be Provisioned.
Task 5: Check the Service Binding in the SAP BTP cockpit
Steps
In this task, you will verify that the Service Binding you set up in your Kyma dashboard has also been successfully created in your SAP BTP cockpit.
Navigate to your SAP BTP Cockpit and then go to Services → Instances and Subscriptions .
Click on the credential-store Service Instance to view its details, where you will see the credstore-binding Service Binding.
Note
You can only manage Service Instances and Service Bindings in Kyma dashboard. If you want to delete them, you can’t do it in the SAP BTP cockpit. Instead, you must use Kyma dashboard. However, if you want to check service details, like service names or plans, you can do so in the SAP BTP cockpit.
Result
Congratulations! You have successfully completed this exercise about Service Management in SAP BTP, Kyma runtime. You created a Service Instance as well as a Service Binding in Kyma dashboard and verified them both in the SAP BTP cockpit.