You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ingest-from-cloud-foundry-runtime-f5a7c99.md
+37-36Lines changed: 37 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,60 +93,61 @@ For more information about different contexts, tools, options, and best practice
93
93
cf service-key <service-instance> <service-key>
94
94
```
95
95
96
-
5. (a) Create a user provided service using the following the template filled with the values of the previous step and a user-provided-service-name of your choice:
96
+
5. Create the User Provided Service (using either simple basic auth or mTLS):
Use this if you need mTLS. You still embed the basic auth username/password into the drain URL, while the certificate material is supplied separately as parameters.
105
-
106
-
5.1 Prerequisites
107
-
- You have obtained the binding JSON (cf service-key <service-instance> <service-key>).
108
-
109
-
5.2 Extract the following fields from the binding JSON:
110
-
- ingest-username
111
-
- ingest-password
112
-
- ingest-mtls-endpoint
113
-
- ingest-mtls-cert
114
-
- ingest-mtls-key
115
-
- server-ca
116
-
117
-
5.3 Prepare the JSON payload for cf cups. (Newlines must be escaped if passed inline)
118
-
```json
119
-
creds_payload.json:
120
-
{
121
-
"ca": "<server-ca>",
122
-
"cert": "<ingest-mtls-cert>",
123
-
"key": "<ingest-mtls-key>"
124
-
}
125
-
```
100
+
Create a user provided service using the following the template filled with the values of the previous step and a user-provided-service-name of your choice:
126
101
127
-
5.4 Create the mTLS-enabled user provided service:
6. Proceed with [Bind the Application to the Service Instance](ingest-from-cloud-foundry-runtime-f5a7c99.md#loiof5a7c993743c4ee79722479371b90b37__bind_the_application) and bind to the user provided service.
135
140
136
141
**Bind the Application to User Provided Service Using SAP BTP Cockpit**
137
142
138
143
1. [Log On to the Cloud Foundry Environment Using the SAP BTP Cockpit](https://help.sap.com/docs/btp/sap-business-technology-platform/cloud-foundry-environment).
139
144
2. Create a service key according to [Creating Service Keys in Cloud Foundry](https://help.sap.com/viewer/09cc82baadc542a688176dce601398de/Cloud/en-US/6fcac08409db4b0f9ad55a6acd4d31c5.html).
140
145
3. Create a User-Provided Service following [Creating User-Provided Service Instances in Cloud Foundry Environment](https://help.sap.com/docs/service-manager/sap-service-manager/creating-user-provided-service-instances-in-cloud-foundry-environment) using `Instance Name` of your choice and the information from the the service key to configure `System Logs Drain URL`:
4. Proceed with [Bind the Application to the Service Instance](ingest-from-cloud-foundry-runtime-f5a7c99.md#loiof5a7c993743c4ee79722479371b90b37__bind_the_application) and bind to the user provided service.
0 commit comments