Open Source Discussions
Join open source discussions to collaborate with developers, share insights, and stay informed about cutting-edge technologies and community initiatives.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Kyma Environment Variables

LuizGomes
Participant
0 Likes
2,471

https://www.npmjs.com/package/@sap/xsenv

xsuaa

destination instance

destination binding

connectivity proxy binding

connectivity proxy binding

deployment

call destination

get token

test

curl --location --request GET 'https://conexao-cloud-conector-s4.c-71b475b.kyma.ondemand.com/' \ --header 'Authorization: Bearer <access_token>'

error:

3 REPLIES 3
Read only

quovadis
Product and Topic Expert
Product and Topic Expert
0 Likes
2,333

Hello,

As a 1st step you might want to try out the code snippet from this blog in a kyma function as a way to validate your setup and connectivity. You will need your bearer token as an argument to the function call;

also please make sure your destination definition looks similar to this one

I hope that helps; kind regards; Piotr

ps. Also looking at the screenshots you have provided. The connectivity proxy secret must not be used by the business application. The on-premise destination must work; that's for sure; however all the business logic wants is the connectivity proxy endpoint as described here

Read only

0 Likes
2,333

https://gist.github.com/ptesny/203fed6c3b059f5880595d92113669af#file-task1-md

Do I have to assemble this information by hand? Is this not compatible with any SAP package used to connect from BTP to S4 via cloud connector, for example sap-cloud-sdk?

Read only

quovadis
Product and Topic Expert
Product and Topic Expert
0 Likes
2,333

hello, this is what you can read in the cloud-sdk documentation: https://sap.github.io/cloud-sdk/docs/js/guides/kubernetes#on-premise-connectivity

I hope that helps; kind regards; Piotr