cancel
Showing results for 
Search instead for 
Did you mean: 

How to Secure Rest API Key and System Key in SAP UI5

0 Kudos

Hi,

I am working on integrating Rest API service with SAP UI5. In my scenario, i have an API Key and System Key to access data. I need to secure API Key and System Key, is there any solution to handle?

Accepted Solutions (1)

Accepted Solutions (1)

UxKjaer
Product and Topic Expert
Product and Topic Expert

Hi Sai,

As Javascript is a client side language. You can't secure it without people being able to see it in the debugger. Your options are to somehow secure it in a destination or develop a Java servlet as a middleware to store the key securely.

nabheetscn
Active Contributor
0 Kudos

Agree!. if you have some kind of cloud platform or server side like PHP/NodeJS available then you can use them to store

Answers (1)

Answers (1)

mariusobert
Developer Advocate
Developer Advocate
0 Kudos

Hi Sai,

I'm agreeing with uxkjaer. Another community member already asked a similar question and got some good advice.