cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Event Mesh Service Key Creation failed

Ilyass01
Discoverer
0 Kudos

Hi All,
Last week i created an SAP Event Mesh Instance based on this tutorial, https://developers.sap.com/tutorials/cp-enterprisemessaging-instance-create.html.

To generate this instance i used the following JSON-File based on the service descriptor that SAP offers in the Help Section.

Instance Creation JSON:

Ilyass01_0-1712575764229.png

Unfortunately when creating the OAuth2.0 service Keys (for AMQP / MQTT & HTTPREST) for external connection it didnt work out. 


the JSON I used:

Ilyass01_1-1712576023280.png

The System tells me that he cannot find messaging and management.

Based on the tutorial and on this blog here I choose to leave all the placeholders as delivered from the Tutorial but it still doesnt work: https://community.sap.com/t5/technology-q-a/service-key-creation-for-event-mesh/qaq-p/12527257  

Can anyone Help me with this Issue?

Thanks

View Entire Topic
Tobias_Griebe
Advisor
Advisor
0 Kudos

Hi @Ilyass01,

you have already linked the answer for your question. 😉

When creating a service-key you only need to provide a name for the service-key but no JSON parameters - this is not required. As a result you will get the service-key containing the unique credentials for your Event Mesh service instance.

step1.jpg

step2.jpg

Best regards,
Tobias

Ilyass01
Discoverer
0 Kudos

Hi @Tobias_Griebe,

and with this service key we can use all the protocols for external communication? 

Like AMQP, MQTT and REST?

Thanks for your help

Tobias_Griebe
Advisor
Advisor
0 Kudos

Hi,

yes this service key will contain all the needed credentials, if you had enabled them while creating the service instance (according to your posted JSON config, you have enabled them). 😉

Best regards,
Tobias