Skip to Content
0

How can "securestore" be used in XS Advanced?

Apr 05 at 08:06 AM

47

avatar image

The SAP HANA Developer guide for XS Advanced refers to using XS Classic to use the securestore functionality (https://help.sap.com/viewer/4505d0bdaf4948449b7f7379d24d0f0d/2.0.02/en-US/ebf0aa26958443f58f86b862056862d4.html)

Is there any way to use it directly in XS Advanced without having to fall back to xsjs?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Florian Pfeffer
Apr 11 at 11:10 AM
1

The documentation for HANA 2.0 SPS03 (released some days ago) contains a new chapter Maintain Values in the SAP HANA Secure Store which describes how to use the secure store w/o using the xsjs compatibility mode. New procedures are available now to create/retrieve/delete secure store values. The application in which you are using the new procedures must be bound a service instance of service hana with plan securestore.

In the documentation there are only examples for Java, but it works also of course with node (e.g. by calling the procedure via the HDB interface available via module @sap/hdbext).

As I don't have a SPS03 system at the moment (waiting for the release of the updated HXE version :)), I checked it on a SPS02 system. The service plan securestore for service hana already existed in SPS02. Therefore I implemented a simple node module to check the availability of the procedures. Result: All procedures are available with SPS02, but (at least in my test) only the procedures to insert/retrieve values work well. Deleting an entry didn't work, although the procedure executes successfully. As the documentation was updated with SPS03, I assume that procedures were released finally with SPS03. Therefore I would not recommend to use it on a lower SPS level.

Regards,
Florian

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thank you very much. The SPS03 documentation seems to be more helpful.

0