Skip to Content

How can "securestore" be used in XS Advanced?

Apr 05 at 08:06 AM


avatar image
Former Member

The SAP HANA Developer guide for XS Advanced refers to using XS Classic to use the securestore functionality (

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

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.


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

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