https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/Security-blog-posts.xmlSAP Community - Security2026-11-02T21:22:47.713585+00:00python-feedgenSecurity blog posts in SAP Communityhttps://community.sap.com/t5/technology-blog-posts-by-sap/quantum-safe-by-default-how-sap-s-4hana-closes-the-door-on-harvest-now/ba-p/14498058Quantum-Safe by Default: How SAP S/4HANA Closes the Door on Harvest Now, Decrypt Later Attacks2026-10-07T12:00:27.984000+02:00maya_shttps://community.sap.com/t5/user/viewprofilepage/user-id/885503<P>Quantum computing is no longer a distant theoretical concern — it is an active security planning challenge with real implications for how SAP landscapes protect data today. With the <SPAN>latest</SPAN> release of the SAP Cryptographic Library, SAP has taken a significant step forward: post-quantum key exchange is now available for S/4HANA across all deployment models, as well as for BAIP ABAP Environment. Here is what you need to know.</P><H2 id="toc-hId-1824792931">The Quantum Threat to Public Key Cryptography</H2><P>Modern public key cryptography — the foundation of secure communication on the internet and inside enterprise systems — rests on mathematical problems that are computationally infeasible for classical computers. RSA relies on the difficulty of factoring large integers. Elliptic Curve Cryptography and Diffie-Hellman key exchange rely on the hardness of the discrete logarithm problem. These properties have made them the workhorses of TLS, digital signatures, and key exchange for decades.</P><P>Quantum computers change this calculus fundamentally. In 1994, mathematician Peter Shor published an algorithm that solves both integer factorization and the discrete logarithm problem in <STRONG>polynomial time</STRONG> on a sufficiently large quantum computer. A cryptographically relevant quantum computer (CRQC) running Shor's algorithm could break RSA, ECDHE, and ECDSA — not in thousands of years as with classical brute-force attacks, but in hours or even minutes.</P><P>It is important to be precise: today's quantum computers are not yet capable of this. They are too small and error-prone to threaten production key sizes. But the trajectory of progress — more qubits, better error correction, and increasingly efficient implementations of Shor's algorithm — means that the question is not <EM>whether</EM> a CRQC will emerge, but <EM>when</EM>. Most credible estimates place that window somewhere in the next one to two decades, with some more recent research suggesting the timelines may be shorter than previously assumed.</P><P>The consequence is that any system still relying solely on RSA, ECDHE, or similar classical algorithms at that point will have no meaningful protection for the confidentiality of its communications.</P><H2 id="toc-hId-1628279426">Harvest Now, Decrypt Later: Why the Clock Is Already Running</H2><P>One might reasonably ask: if CRQCs do not yet exist, why act now? The answer lies in a threat strategy already being executed by sophisticated adversaries today, known as <STRONG>Harvest Now, Decrypt Later</STRONG>.</P><P>The attack is conceptually simple but strategically powerful. An adversary intercepts and archives encrypted network traffic today. The data cannot be read yet, but it does not need to be. It is stored and held in reserve until a capable quantum computer becomes available. At that point, the attacker uses Shor's algorithm to recover the session keys from the classical key exchange, and retroactively decrypts all the stored ciphertext.</P><P>This means <STRONG>the exposure occurs at the moment of transmission</STRONG>, not at the moment of decryption. Any data transmitted today under a purely classical key exchange is potentially at risk if it must remain confidential for a decade or more — and there is growing evidence that threat actors are actively collecting this data right now.</P><P>The implication for enterprise systems is clear: sensitive business data, financial transactions, intellectual property, and HR records that travel over TLS-protected connections today may be in an attacker's archive already. Waiting until CRQCs are publicly available to migrate to post-quantum cryptography is, by definition, too late for that data.</P><P>This is precisely why the focus of early post-quantum migration is on <STRONG>key exchange</STRONG> rather than digital signatures. Key exchange is the mechanism that protects data confidentiality in transit, and it is the vector that Harvest Now, Decrypt Later attacks exploit. Migrating to quantum-safe key exchange now ensures that traffic captured today cannot be decrypted by a future quantum adversary — even if they are storing it as you read this.</P><H2 id="toc-hId-1431765921">Post-Quantum Key Exchange Is Now Available for S/4HANA and BAIP ABAP Environment</H2><P>SAP has taken a concrete step toward quantum-safe communications with the release of the SAP Cryptographic Library (a.k.a <STRONG>CommonCryptoLib</STRONG><STRONG>, CCL) version 8.6.2</STRONG>. This version introduces support for a <STRONG>hybrid post-quantum TLS 1.3 handshake</STRONG> — specifically, a hybrid key agreement based on <STRONG>X25519MLKEM768</STRONG>, which combines the classical X25519 elliptic curve Diffie-Hellman exchange with <STRONG>ML-KEM</STRONG> (Module-Lattice-based Key Encapsulation Mechanism), the algorithm standardized by NIST as FIPS 203.</P><P>The hybrid approach is deliberate and follows the industry best practice for this transition period: by combining a classical and a post-quantum key exchange in parallel, the resulting session key is secure as long as either of the two algorithms remains unbroken. This gives you quantum resistance against Harvest Now, Decrypt Later attacks today, while retaining the proven security of classical cryptography.</P><P>This capability is available across <STRONG>all S/4HANA deployment models</STRONG>:</P><UL><LI><STRONG>S/4HANA Public Cloud</STRONG></LI><LI><STRONG>S/4HANA Private Cloud</STRONG></LI><LI><STRONG>S/4HANA On-Premise</STRONG></LI></UL><P>Additionally, it is also available on the following <STRONG>BAIP environment</STRONG>:</P><UL><LI><STRONG>BAIP ABAP Environment</STRONG></LI></UL><H3 id="toc-hId-1364335135">Prerequisites</H3><P>Two prerequisites must be in place:</P><OL><LI><STRONG>SAP Cryptographic Library 8.6.2 or higher</STRONG> — to enable ML-KEM support in the TLS handshake.</LI><LI><STRONG>A TLS 1.3-compatible SAP Kernel</STRONG> — TLS 1.3 is a strict prerequisite for the post-quantum key exchange. All S/4HANA Public Cloud kernels, as well as the kernel of BAIP ABAP Environment, are compatible and have TLS 1.3 enabled by default. For Private Cloud and On-Premise systems, please see <A title="3318423 - Is TLS 1.3 Supported by SAP Kernel for ABAP and SAP S/4HANA?" href="https://me.sap.com/notes/3318423" target="_blank" rel="noopener noreferrer"><STRONG>SAP Note 3318423</STRONG></A> for the required SAP Kernel versions and patch levels.</LI></OL><H3 id="toc-hId-1167821630">Plug and Play Activation</H3><P>Once both prerequisites are satisfied, no additional configuration is required. The post-quantum hybrid key exchange activates automatically for all TLS 1.3 connections. There is no switch to flip and no profile parameter to set. When a TLS 1.3 connection is established between two endpoints that both support X25519MLKEM768, the hybrid key agreement happens transparently.</P><P>This plug-and-play behavior significantly lowers the barrier to adoption: upgrading your SAP Cryptographic Library and ensuring your kernel is TLS 1.3-capable is all it takes to bring post-quantum protection to your S/4HANA system’s TLS protected communication channels.</P><H2 id="toc-hId-842225406">Potential Issues with Third-Party TLS Connections</H2><P>While the hybrid post-quantum key exchange works seamlessly between SAP components, connections to <STRONG>third-party systems and external services</STRONG> may require attention.</P><P>The root cause is a practical one: ML-KEM key exchange values are significantly larger than those produced by classical ECDHE. A standard ECDHE key share is a few dozen bytes; an ML-KEM key share (as used in X25519MLKEM768) is several kilobytes. Not all TLS implementations handle these larger payloads correctly — some may fail the handshake, reject the connection, or behave unpredictably when they encounter a key share size they were not designed for.</P><P>If you observe TLS handshake failures or unexpected connection drops to third-party systems after upgrading to CCL 8.6.2 or higher, the post-quantum key size is a likely contributing factor. The recommended remediation is to <STRONG>disable post-quantum key exchange selectively for those specific connections</STRONG> using session-specific cipher suite configuration rather than disabling it globally.</P><H3 id="toc-hId-774794620">Public Cloud: Communication System Settings</H3><P>In <STRONG>S/4HANA Public Cloud and BAIP ABAP Environment</STRONG>, profile parameters are not directly accessible. For outbound connections to third-party systems that cannot handle TLS 1.3's post-quantum key sizes, the recommended approach is to <STRONG>disable TLS 1.3 for that specific connection</STRONG> via the Cipher Suites attribute of the <STRONG>Communication System</STRONG> configuration in the SAP S/4HANA Public Cloud and SAP BAIP administration tools. Configuring the communication system to use TLS 1.2 for the affected destination ensures interoperability while limiting the scope of the restriction to only the affected endpoint.</P><P data-unlink="true">Learn more about Communication System configuration on the SAP Help Portal page <A title="How to Create Communication Systems | SAP Help Portal" href="https://help.sap.com/docs/SAP_S4HANA_CLOUD/0f69f8fb28ac4bf48d2b57b9637e81fa/1bfe32ae08074b7186e375ab425fb114.html?locale=en-US&version=2602.500&state=PRODUCTION" target="_blank" rel="noopener noreferrer">How to Create Communication Systems</A>. </P><H3 id="toc-hId-578281115">On-Premise and Private Cloud: SM59 Configuration</H3><P>For RFC and HTTP connections configured via <STRONG>SM59</STRONG>, you can override the TLS cipher suite string on a per-destination basis using the <STRONG>TLS Cipher Suites</STRONG> field on the <EM>Logon & Security</EM> tab of a type G or H destination. This allows you to target only the affected connection without touching the system-wide profile parameters.</P><P>In comparison to Public Cloud systems, where the post-quantum key exchange can only be disabled indirectly via disabling of TLS 1.3, the configuration via SM59 allows for ML-KEM to be <STRONG>disabled directly</STRONG>, leaving TLS 1.3 otherwise intact. This can be done by adjusting the cipher suite string to exclude the ML-KEM-based key exchange group. The exact syntax and the correct cipher suite string to use for this purpose are described in <A title="3346659 - TLS Ciphersuite String Configuration for SAP AS ABAP Systems and for SAP Kernel Software Components - Section 3.7" href="https://me.sap.com/notes/3346659#section-3-7" target="_blank" rel="noopener noreferrer"><STRONG>SAP Note 3346659, Section 3.7</STRONG></A>.</P><P>For full documentation on how the TLS Cipher Suites field works in SM59 and how session-specific cipher suite overrides interact with system-wide settings, refer to the SAP Help Portal page <A title="help.sap.com - SM59 - Configure TLS Attributes" href="https://help.sap.com/docs/ABAP_PLATFORM_NEW/753088fc00704d0a80e7fbd6803c8adb/d40c862e2c6b4e44b1688df9f110dbb1.html" target="_blank" rel="noopener noreferrer">Field <TLS Cipher Suites></A>.</P><H2 id="toc-hId-252684891">Conclusion</H2><P>Post-quantum key exchange in S/4HANA is not a future roadmap item — it is available today, and the case for deploying it promptly is compelling. The Harvest Now, Decrypt Later threat means that data traversing your landscape right now may already be targeted by adversaries banking on future quantum decryption capabilities. With SAP Cryptographic Library 8.6.2 or higher and a TLS 1.3-compatible kernel, you can close that window with minimal operational effort. The hybrid X25519MLKEM768 approach delivers quantum-safe key exchange as a drop-in capability, and targeted cipher suite configuration via SM59 or Communication System settings allows you to manage any third-party compatibility edge cases without compromising the broader security posture of your landscape.</P><H2 id="toc-hId-56171386">Further Information</H2><UL><LI><A title="3685428 - Fixes and features in CommonCryptoLib 8.6.2" href="https://me.sap.com/notes/3685428" target="_blank" rel="noopener noreferrer">SAP Note <SPAN>3685428 - Fixes and features in CommonCryptoLib 8.6.2</SPAN></A></LI><LI><SPAN><A title="SAP Note 3318423 - Is TLS 1.3 Supported by SAP Kernel for ABAP and SAP S/4HANA?" href="https://me.sap.com/notes/3318423/E" target="_blank" rel="noopener noreferrer">SAP Note 3318423 - Is TLS 1.3 Supported by SAP Kernel for ABAP and SAP S/4HANA?</A></SPAN></LI><LI><SPAN><A title="SAP Note 3532801 - Support for TLS 1.3 -- Downport for SAP AS ABAP Kernel" href="https://me.sap.com/notes/3532801" target="_blank" rel="noopener noreferrer">SAP Note 3532801 - Support for TLS 1.3 -- Downport for SAP AS ABAP Kernel</A></SPAN></LI><LI><SPAN><A title="SAP Note 3346659 - TLS Ciphersuite String Configuration for SAP AS ABAP Systems and for SAP Kernel Software Components - Section 3.7" href="https://me.sap.com/notes/3346659#section-3-7" target="_blank" rel="noopener noreferrer">SAP Note 3346659 - TLS Ciphersuite String Configuration for SAP AS ABAP Systems and for SAP Kernel Software Components - Section 3.7</A></SPAN></LI><LI><A title="How to Create Communication Systems | SAP Help Portal" href="https://help.sap.com/docs/SAP_S4HANA_CLOUD/0f69f8fb28ac4bf48d2b57b9637e81fa/1bfe32ae08074b7186e375ab425fb114.html?version=2602.500&ai=true" target="_blank" rel="noopener noreferrer">How to Create Communication Systems | SAP Help Portal</A></LI><LI><A title="Configure TLS Attributes in SM59 | SAP Help Portal" href="https://help.sap.com/docs/ABAP_PLATFORM_NEW/753088fc00704d0a80e7fbd6803c8adb/d40c862e2c6b4e44b1688df9f110dbb1.html" target="_blank" rel="noopener noreferrer">Configure TLS Attributes in SM59 | SAP Help Portal</A></LI></UL>2026-10-07T12:00:27.984000+02:00https://community.sap.com/t5/technology-blog-posts-by-members/snc-with-kerberos-after-migration-part-2-oracle-19c-the-dynamic-linker-and/ba-p/14498424SNC with Kerberos after migration, Part 2: Oracle 19c, the dynamic linker and LD_PRELOAD2026-10-09T07:21:04.528000+02:00AkumaryafirAkhttps://community.sap.com/t5/user/viewprofilepage/user-id/1430983<H2 id="toc-hId-1824796678">Introduction</H2><P><STRONG>About this series.</STRONG> After a data center migration to RHEL 9 and an Oracle 19c client, our SAP ABAP system would not start once SNC with Kerberos was switched on. Behind that one symptom were two separate problems. This series walks through them one part at a time:</P><UL><LI><A href="https://community.sap.com/t5/technology-blog-posts-by-members/snc-with-kerberos-stops-sap-from-starting-after-migration-two-problems/ba-p/14496662" target="_blank">Overview</A>: the whole story and both fixes in short</LI><LI><A href="https://community.sap.com/t5/technology-blog-posts-by-members/how-snc-with-kerberos-logs-you-into-sap-without-a-password-explained-with-a/ba-p/14497632" target="_blank">Part 1</A>: how SNC with Kerberos logs you into SAP without a password</LI><LI><STRONG>Part 2 (this post)</STRONG>: why the Oracle 19c client crashed the work process, the dynamic linker and LD_PRELOAD</LI><LI>Part 3: how I proved it, the traces, the checks and the dead ends</LI><LI>Part 4: "Initiating Credentials not available": keytab, ticket and credential cache</LI><LI>Part 5: runbook and cheat sheet</LI></UL><P>In <A href="https://community.sap.com/t5/technology-blog-posts-by-members/how-snc-with-kerberos-logs-you-into-sap-without-a-password-explained-with-a/ba-p/14497632" target="_blank">Part 1</A> I explained how SNC with Kerberos works, using a normal VDI login as the example. This post goes deep into the first and stranger of the two problems: the work process aborted right after SAP had loaded the Kerberos library successfully. The cause was not in SAP and not in Kerberos. It was in the way Linux connects programs to their libraries.</P><H2 id="toc-hId-1628283173">The symptom</H2><P>With <STRONG><FONT color="#0a6ed1">snc/enable = 0</FONT></STRONG> the system started normally. With <STRONG><FONT color="#0a6ed1">snc/enable = 1</FONT></STRONG> the work processes died during startup. The trace looked fine at first:</P><PRE>N SncInit(): Initializing Secure Network Communication (SNC)
N SncInit(): found snc/gssapi_lib=/usr/lib64/libgssapi_krb5.so
N File "/usr/lib64/libgssapi_krb5.so" dynamically loaded as GSS-API v2 library.</PRE><P>Then the process received SIGABRT. The stack, read from the bottom up:</P><PRE>/usr/lib64/libc.so.6 (abort)
<ORACLE_HOME>/lib/libclntsh.so.11.1 (krb5int_key_register)
<ORACLE_HOME>/lib/libclntsh.so.11.1 (gss_krb5int_lib_init)
SncPDLInit()
SncInit()
ThSncInit()</PRE><P>SAP started SNC, SNC started Kerberos, and the Kerberos start-up code was running inside <STRONG><FONT color="#0a6ed1">libclntsh.so</FONT></STRONG>, the Oracle client library. That was the moment I stopped looking at SNC parameters and started looking at libraries.</P><P>A small trap on the way: the file is called <STRONG><FONT color="#0a6ed1">libclntsh.so.11.1</FONT></STRONG>, but it is the 19c client. Oracle keeps that old file name for compatibility, so the name tells you nothing about the version.</P><H2 id="toc-hId-1431769668">One Linux concept you need: the dynamic linker</H2><P>A program like the SAP work process does not contain all of its code. It calls functions by name, and the code for those names lives in shared libraries, the .so files. The Oracle client is one, MIT Kerberos is another, the SAP Cryptographic Library is a third.</P><P>When a process starts, and whenever it loads a library later on demand, a part of Linux called the <STRONG>dynamic linker</STRONG> loads these libraries and connects each function name to real code. SAP loads the library from <STRONG><FONT color="#0a6ed1">snc/gssapi_lib</FONT></STRONG> on demand, when SNC starts.</P><P>The important rule: all libraries in one process share one list of names, and the linker searches that list in load order. <STRONG>The first library that offers a name wins.</STRONG></P><P><STRONG>Analogy:</STRONG> think of an office with one phone directory. Every department that moves in writes its people into the directory, in the order they arrive. When someone calls and asks for "Raj", the receptionist looks from the top and connects the first Raj she finds. If two departments both have a Raj, the second one never gets a call meant for him.</P><H2 id="toc-hId-1235256163">What was inside the Oracle client</H2><P>Running nm on the Oracle client lists the function names it offers to the rest of the process:</P><PRE>nm -D <ORACLE_HOME>/lib/libclntsh.so.11.1 | grep -E 'gss_krb5int|krb5int'
gss_krb5int_lib_init
gss_krb5int_initialize_library
krb5int_key_register
krb5int_cc_default
krb5int_accessor
...</PRE><P>These are internal functions of MIT Kerberos. Normally only MIT Kerberos itself uses them. The Oracle 19c client carries its own copy of this code and makes the names visible to everyone in the process.</P><P>In the phone directory picture: the Oracle department brought its own people called gss_krb5int_lib_init and krb5int_key_register, and the MIT Kerberos department has people with exactly the same names.</P><H2 id="toc-hId-1038742658">What happened inside one work process</H2><OL><LI>The work process starts and connects to the database. To do that it loads the Oracle client. Oracle's names, including its Kerberos copies, are written into the directory <STRONG>first</STRONG>.</LI><LI>SNC starts and loads MIT Kerberos from <STRONG><FONT color="#0a6ed1">snc/gssapi_lib</FONT></STRONG>, together with its helper libraries. The load itself works, which is why the trace says "dynamically loaded".</LI><LI>MIT Kerberos initializes itself and calls its own internal function <STRONG><FONT color="#0a6ed1">gss_krb5int_lib_init</FONT></STRONG>.</LI><LI>The linker looks up the name, finds Oracle's copy first, and sends the call there.</LI><LI>Oracle's copy calls <STRONG><FONT color="#0a6ed1">krb5int_key_register</FONT></STRONG>, again Oracle's copy, and finds internal state that MIT's half had set up differently. The two halves do not match.</LI><LI>Kerberos notices the inconsistency and calls <STRONG><FONT color="#0a6ed1">abort()</FONT></STRONG>. SIGABRT, the work process dies, the instance does not come up.</LI></OL><P>SIGABRT is worth a second look. It is not a segmentation fault, where code touches bad memory. It means the code checked something, found it wrong and stopped itself on purpose. That fits two copies of the same library tripping over each other's state.</P><P><STRONG><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="snc-part2-linker-diagram.png" style="width: 780px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/465944i23E08063B4D219B0/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="snc-part2-linker-diagram.png" alt="snc-part2-linker-diagram.png" /></span><</STRONG></P><H2 id="toc-hId-842229153">Why the old system never had this problem</H2><P> Old system (SLES, Oracle 11g client) New system (RHEL 9, Oracle 19c client)</P><TABLE border="1"><TBODY><TR><TD>snc/gssapi_lib</TD><TD>MIT libgssapi_krb5.so</TD><TD>MIT libgssapi_krb5.so</TD></TR><TR><TD>Oracle client exports MIT Kerberos internals</TD><TD>No</TD><TD>Yes</TD></TR><TR><TD>Result with SNC on</TD><TD>Works</TD><TD>SIGABRT</TD></TR></TBODY></TABLE><P>Same SAP configuration, same MIT Kerberos. Only the Oracle client changed. With 11g there was nothing in the directory to collide with.</P><H2 id="toc-hId-645715648">Why the sqlnet.ora change did not help</H2><P>My first idea was that Oracle wanted to use Kerberos for its own database login, so I set <STRONG><FONT color="#0a6ed1">SQLNET.AUTHENTICATION_SERVICES = (NONE)</FONT></STRONG> in sqlnet.ora. Nothing changed, and I reverted it.</P><P>Looking back, it could not help. That setting controls whether Oracle uses Kerberos to log in. The clash happens simply because Oracle's library sits in the process and offers those names. A runtime setting cannot change which copy the linker picks.</P><H2 id="toc-hId-449202143">The fix: LD_PRELOAD</H2><P><STRONG><FONT color="#0a6ed1">LD_PRELOAD</FONT></STRONG> is an environment variable that tells the linker: load these libraries before everything else. Their names go to the top of the directory, so they win every lookup, including lookups made from inside other libraries.</P><P>I added this to the profile of the <STRONG><FONT color="#0a6ed1"><sid>adm</FONT></STRONG> user:</P><PRE>export LD_PRELOAD=/lib64/libgssapi_krb5.so.2:/lib64/libkrb5.so.3:/lib64/libk5crypto.so.3:/lib64/libkrb5support.so.0</PRE><P>The four libraries are the MIT Kerberos stack:</P><UL><LI><STRONG><FONT color="#0a6ed1">libgssapi_krb5.so.2</FONT></STRONG>: the GSS-API layer that SNC talks to, home of gss_krb5int_lib_init</LI><LI><STRONG><FONT color="#0a6ed1">libkrb5.so.3</FONT></STRONG>: the Kerberos protocol itself</LI><LI><STRONG><FONT color="#0a6ed1">libk5crypto.so.3</FONT></STRONG>: the encryption routines</LI><LI><STRONG><FONT color="#0a6ed1">libkrb5support.so.0</FONT></STRONG>: internal helpers, home of krb5int_key_register</LI></UL><P>Environment variables are read when a process starts. The work processes are started by sapstartsrv, not by your shell, so a full stop and start of the instance is needed, including sapstartsrv. After that, the crash was gone.</P><P>In the phone directory picture: the MIT Kerberos department now moves in before anyone else, so every call for its people reaches the right person. Oracle's copies are still in the file, but nobody calls them any more. Database access is not affected, because Oracle does not use Kerberos for its login here.</P><H2 id="toc-hId-252688638">Things to keep in mind</H2><UL><LI>LD_PRELOAD applies to everything started as <sid>adm, including lsnrctl, sqlplus and the BR*Tools. That was fine for us because Oracle does not use Kerberos authentication on this database.</LI><LI>After operating system patches, check that the four preloaded files still exist under the same names.</LI><LI>If Oracle Kerberos authentication is switched on for the database later, test this setup again.</LI><LI>I did not find a SAP Note that describes this exact combination. If you know one, please add it in the comments.</LI></UL><H2 id="toc-hId-56175133">How to check if you have the same problem</H2><PRE># 1. Does the crash stack show Kerberos functions inside the Oracle client?
grep -A20 -i "abort" /usr/sap/<SID>/D*/work/dev_w0
# 2. Does your Oracle client export MIT Kerberos internals?
nm -D <ORACLE_HOME>/lib/libclntsh.so* | grep -E 'gss_krb5int|krb5int'
# 3. After the fix, is LD_PRELOAD set for the SAP user?
echo $LD_PRELOAD</PRE><P>If the first two show Kerberos names inside libclntsh.so, you most likely have the same clash.</P><H2 id="toc-hId-206915985">Conclusion and what is next</H2><P>The crash was a clash between two copies of Kerberos in one process: the one inside the Oracle 19c client and the real MIT Kerberos. LD_PRELOAD makes sure the real one is found first. If you see Kerberos functions inside libclntsh.so in a crash stack, start there, not with the SNC parameters.</P><P>With the crash fixed, SNC got one step further and stopped at "Initiating Credentials not available". <STRONG>Part 3</STRONG> shows how I worked through both problems: reading the traces, comparing with the old system, and the checks that turned out to be dead ends. I will add the link here once it is published.</P><P>Follow me here on SAP Community to get notified when the next part comes out. And if you have seen Oracle or another library bring its own copy of Kerberos into an SAP process, tell me in the comments how you handled it.</P>2026-10-09T07:21:04.528000+02:00https://community.sap.com/t5/technology-blog-posts-by-members/snc-with-kerberos-after-migration-part-3-how-i-proved-it-and-the-dead-ends/ba-p/14500801SNC with Kerberos after migration, Part 3: how I proved it, and the dead ends2026-10-12T10:25:01.076000+02:00AkumaryafirAkhttps://community.sap.com/t5/user/viewprofilepage/user-id/1430983<H2 id="toc-hId-1844879591">Introduction</H2><P><STRONG>About this series.</STRONG> After a data center migration to RHEL 9 and an Oracle 19c client, our SAP ABAP system would not start once SNC with Kerberos was switched on. Behind that one symptom were two separate problems.</P><UL><LI><A href="https://community.sap.com/t5/technology-blog-posts-by-members/snc-with-kerberos-stops-sap-from-starting-after-migration-two-problems/ba-p/14496662" target="_blank">Overview</A>: the whole story and both fixes in short</LI><LI><A href="https://community.sap.com/t5/technology-blog-posts-by-members/how-snc-with-kerberos-logs-you-into-sap-without-a-password-explained-with-a/ba-p/14497632" target="_blank">Part 1</A>: how SNC with Kerberos logs you into SAP without a password</LI><LI><A href="https://community.sap.com/t5/technology-blog-posts-by-members/snc-with-kerberos-after-migration-part-2-oracle-19c-the-dynamic-linker-and/ba-p/14498424" target="_blank">Part 2</A>: why the Oracle 19c client crashed the work process, and LD_PRELOAD</LI><LI><STRONG>Part 3 (this post)</STRONG>: how I proved it, and the dead ends</LI><LI>Part 4: "Initiating Credentials not available": keytab, ticket and credential cache</LI><LI>Part 5: runbook and cheat sheet</LI></UL><P>Parts 1 and 2 explain <I>what</I> was wrong. This short post is about <I>how</I> I got there: five checks, in the order I did them, and the ones that led nowhere. The method works for any SNC startup problem, not only this one.</P><H2 id="toc-hId-1648366086">1. Read the trace from the bottom up</H2><P>The work process trace (dev_w*) tells you two things: how far SAP got, and where it stopped. Mine said SAP had loaded the Kerberos library successfully, and then the stack ended in abort() inside <STRONG><FONT color="#0a6ed1">libclntsh.so</FONT></STRONG>, the Oracle client.</P><P>That one line moved the search away from SNC parameters. If SAP had failed to load the library, the problem would be the path. It loaded fine, so the problem was what happened after.</P><H2 id="toc-hId-1451852581">2. Clear the simple configuration errors first</H2><P>The very first start failed for a boring reason: the profile still pointed <STRONG><FONT color="#0a6ed1">snc/gssapi_lib</FONT></STRONG> to an old Quest library that did not exist on the new server. dlopen failed with "No such file or directory".</P><P>Lesson: after a migration, check every path in the SNC parameters before you look for anything clever.</P><H2 id="toc-hId-1255339076">3. Compare with a system that works</H2><P>Our old production system ran the same SNC setup for years. I put the two side by side:</P><P> Old (works) New (crashes)</P><TABLE border="1"><TBODY><TR><TD>snc/gssapi_lib</TD><TD>MIT Kerberos</TD><TD>MIT Kerberos</TD></TR><TR><TD>SAP Cryptographic Library loaded</TD><TD>Yes</TD><TD>Yes</TD></TR><TR><TD>Oracle client</TD><TD>11g</TD><TD>19c</TD></TR><TR><TD>Linux</TD><TD>SLES</TD><TD>RHEL 9</TD></TR></TBODY></TABLE><P>Same SNC configuration, same Kerberos library. Only the Oracle client and the operating system had changed, so those were the two suspects.</P><H2 id="toc-hId-1058825571">4. Prove it with nm</H2><P>A stack trace shows <I>where</I> code ran. nm shows <I>which library owns</I> a function name. Two commands settled it:</P><PRE>nm -D <ORACLE_HOME>/lib/libclntsh.so* | grep -E 'gss_krb5int|krb5int'
# returns MIT Kerberos internal functions: Oracle carries its own copy
nm -D /usr/sap/<SID>/SYS/exe/run/libsapcrypto.so | grep -i krb
# returns nothing: the SAP Cryptographic Library has no Kerberos code</PRE><P>Now the evidence matched: the Oracle 19c client offers the same Kerberos function names as MIT Kerberos, and the stack showed MIT's start-up landing in Oracle's copy. Part 2 explains why that crashes.</P><H2 id="toc-hId-862312066">5. Treat the next error as progress</H2><P>After LD_PRELOAD fixed the crash, SNC stopped with a new message: "Initiating Credentials krb5 not available". It is tempting to think the fix failed. It had not. SAP simply got one step further and hit the next problem. Accepting was OK, initiating was not, which pointed straight at a missing ticket. That is Part 4.</P><H2 id="toc-hId-665798561">The dead ends</H2><UL><LI><STRONG>Keytab and Kerberos ports.</STRONG> The first reply to my SAP Community question suggested checking these. Good first checks, but both were fine. The library loaded and the accepting credential worked, which already proves the keytab is readable.</LI><LI><STRONG>sqlnet.ora.</STRONG> I set <STRONG><FONT color="#0a6ed1">SQLNET.AUTHENTICATION_SERVICES = (NONE)</FONT></STRONG>, thinking Oracle wanted Kerberos for its own login. No change. It controls Oracle's login method, not which copy of a function the linker picks.</LI><LI><STRONG>The SAP Cryptographic Library.</STRONG> It is loaded in the same process, so I suspected it. nm showed it has no Kerberos code at all. It handles TLS and SSFS, not SNC with Kerberos.</LI></UL><H2 id="toc-hId-469285056">How I tested the final fix</H2><P>A fix that only survives one restart is not a fix. So I broke it on purpose: deleted the ticket with kdestroy, restarted a work process and watched it fail, let the cron job renew the ticket, restarted again and watched it recover. Then a full system restart. All good, and the same fix worked on a second system.</P><H2 id="toc-hId-272771551">Conclusion and what is next</H2><P>Read the trace for where it stopped, clear the simple errors, compare with a working system, and prove the theory with a command, not a guess. Most of my time went into the dead ends, and each one ruled something out.</P><P><STRONG>Part 4</STRONG> covers the second problem in detail: why SAP had a keytab but no ticket, what KCM and a file cache are, and the cron job that keeps the ticket fresh. I will add the link here once it is published. Follow me here on SAP Community to get notified, and tell me in the comments which check you start with when SNC breaks.</P>2026-10-12T10:25:01.076000+02:00https://community.sap.com/t5/technology-blog-posts-by-members/snc-with-kerberos-after-migration-part-4-quot-initiating-credentials-not/ba-p/14503215SNC with Kerberos after migration, Part 4: "Initiating Credentials not available"2026-10-16T09:22:58.273000+02:00AkumaryafirAkhttps://community.sap.com/t5/user/viewprofilepage/user-id/1430983<H2 id="toc-hId-1844963233">Introduction</H2><P><STRONG>About this series.</STRONG> After a data center migration to RHEL 9 and an Oracle 19c client, our SAP ABAP system would not start once SNC with Kerberos was switched on. Behind that one symptom were two separate problems.</P><UL><LI><A href="https://community.sap.com/t5/technology-blog-posts-by-members/snc-with-kerberos-stops-sap-from-starting-after-migration-two-problems/ba-p/14496662" target="_blank">Overview</A>: the whole story and both fixes in short</LI><LI><A href="https://community.sap.com/t5/technology-blog-posts-by-members/how-snc-with-kerberos-logs-you-into-sap-without-a-password-explained-with-a/ba-p/14497632" target="_blank">Part 1</A>: how SNC with Kerberos logs you into SAP without a password</LI><LI><A href="https://community.sap.com/t5/technology-blog-posts-by-members/snc-with-kerberos-after-migration-part-2-oracle-19c-the-dynamic-linker-and/ba-p/14498424" target="_blank">Part 2</A>: why the Oracle 19c client crashed the work process, and LD_PRELOAD</LI><LI><A href="https://community.sap.com/t5/technology-blog-posts-by-members/snc-with-kerberos-after-migration-part-3-how-i-proved-it-and-the-dead-ends/ba-p/14500801" target="_blank">Part 3</A>: how I proved it, and the dead ends</LI><LI><STRONG>Part 4 (this post)</STRONG>: "Initiating Credentials not available": keytab, ticket and credential cache</LI><LI>Part 5: runbook and cheat sheet</LI></UL><P>Part 2 fixed the crash. This post covers what came right after: SNC got one step further and stopped again, this time with a credentials error.</P><H2 id="toc-hId-1648449728">The error</H2><PRE>SncInit(): found snc/identity/as=p:<host>$@<REALM>
SncInit(): Accepting Cred: "krb5" (0x0002) ok, lifetime=Indefinite
*** ERROR => SncPExportGSSName()==SNCERR_GSSAPI
FATAL SNCERR -- Initiating Credentials: "krb5" (0x0002) not available!
<<- SncInit()==SNCERR_GSSAPI sec_avail = "false"</PRE><P>One line says OK, the next says not available. To read that, you need to know that SNC checks two different things when it starts.</P><H2 id="toc-hId-1451936223">Accepting and initiating: two different credentials</H2><P><STRONG>Accepting</STRONG> means: can SAP check the Kerberos tickets that users send in? For that, SAP only needs its own secret key, which is stored in the <STRONG>keytab</STRONG> (<STRONG><FONT color="#0a6ed1">/etc/krb5.keytab</FONT></STRONG>). No contact with Active Directory is needed, which is why the trace says "lifetime=Indefinite". This was fine.</P><P><STRONG>Initiating</STRONG> means: can SAP prove its <I>own</I> identity to others? For that, SAP needs a <STRONG>TGT</STRONG>, a ticket from Active Directory, sitting in a <STRONG>credential cache</STRONG>. That was missing.</P><P><STRONG>Analogy:</STRONG> the keytab is the key to your own front door. You can always use it to let people in. The TGT is a day pass from the security desk that lets you walk into other buildings. It expires, and you have to collect it first. SAP had the key but no day pass, and SNC will not start without both.</P><P><A href="https://community.sap.com/t5/technology-blog-posts-by-members/how-snc-with-kerberos-logs-you-into-sap-without-a-password-explained-with-a/ba-p/14497632" target="_blank">Part 1</A> walks through this with a full login example.</P><H2 id="toc-hId-1255422718">Why there was no ticket</H2><P>Two things came together.</P><P><STRONG>Nobody was getting a ticket for the server.</STRONG> A keytab sits on disk and does nothing on its own. Someone has to run <STRONG><FONT color="#0a6ed1">kinit</FONT></STRONG> with it to collect a TGT. On our system, nothing did that for the SAP user.</P><P><STRONG>The wallet had moved.</STRONG> The credential cache is where tickets are kept after kinit, like a wallet. On RHEL 8 and 9 the default wallet is <STRONG>KCM</STRONG>, held inside the SSSD service. On the old SLES system it was a plain <STRONG>file</STRONG>. The SAP work processes are started by sapstartsrv, not by your terminal, so a ticket you can see in your own shell is not guaranteed to be in the wallet those processes read.</P><P>To be honest about it: my logs show that a file cache solved it. They do not show exactly why KCM did not. What I can say is that a file cache gives every SAP process, and the job that renews the ticket, one fixed place to look.</P><H2 id="toc-hId-1058909213">The fix</H2><P><STRONG>1. Give SAP one fixed wallet.</STRONG> In the profile of the <STRONG><FONT color="#0a6ed1"><sid>adm</FONT></STRONG> user:</P><PRE>export KRB5CCNAME=FILE:/tmp/krb5cc_<SID></PRE><P><STRONG>2. Put a ticket in it, using the keytab instead of a password.</STRONG> As <sid>adm:</P><PRE>kdestroy
kinit -k -t /etc/krb5.keytab '<host>$'
klist # should show krbtgt/<REALM>@<REALM> with an expiry time</PRE><P>The principal must match <STRONG><FONT color="#0a6ed1">snc/identity/as</FONT></STRONG>, here the server's Active Directory computer account <STRONG><FONT color="#0a6ed1"><host>$</FONT></STRONG>.</P><P><STRONG>3. Restart SAP completely,</STRONG> so sapstartsrv and the work processes start with the new KRB5CCNAME. Environment variables are only read when a process starts.</P><PRE>stopsap all
lsnrctl start
startsap all</PRE><P><STRONG>4. Keep the ticket fresh.</STRONG> A TGT from Active Directory lasts about 10 hours. A small cron job for <sid>adm runs the same kinit every few minutes. Cron does not read the user profile, so the cache path goes into the cron line itself, for example:</P><PRE>*/5 * * * * KRB5CCNAME=FILE:/tmp/krb5cc_<SID> /usr/bin/kinit -k -t /etc/krb5.keytab '<host>$'</PRE><P>Every five minutes is more than needed, but it is harmless and means a lost ticket comes back quickly.</P><H2 id="toc-hId-862395708">How I tested it</H2><UL><LI>Checked with klist that a new ticket appeared after each cron run.</LI><LI>Restarted work processes: they started and went back to waiting.</LI><LI>Stopped cron, deleted the ticket with kdestroy, restarted a work process: it failed SNC init, as expected.</LI><LI>Started cron again, waited for the next run, restarted the work process: it came up fine.</LI><LI>Full system restart: OK. The same fix worked on a second system.</LI></UL><H2 id="toc-hId-665882203">Things to keep in mind</H2><UL><LI><sid>adm must be able to read the keytab. By default it is readable by root only.</LI><LI>If the cron job stops, running work processes keep working. Only work processes that start after the ticket expires will fail.</LI><LI>Kerberos is strict about time. If the server clock and the domain controller differ by more than a few minutes, kinit fails.</LI></UL><H2 id="toc-hId-469368698">Conclusion and what is next</H2><P>"Accepting OK, initiating not available" means the keytab is fine but SAP has no ticket of its own in the place it looks. Give it one fixed file cache, fill it with kinit from the keytab, and renew it with cron.</P><P><STRONG>Part 5</STRONG> brings everything from this series onto one page: the final configuration, a checklist after every restart, and an "error, cause, fix" table. I will add the link here once it is published. Follow me here on SAP Community to get notified, and tell me in the comments how you keep the SAP server's Kerberos ticket fresh on your systems.</P>2026-10-16T09:22:58.273000+02:00https://community.sap.com/t5/technology-blog-posts-by-sap/upcoming-expert-guided-implementation-egis-for-cloud-alm-and-security/ba-p/14505585Upcoming Expert-guided Implementation (EGIs) for Cloud ALM and Security: November 20262026-10-16T13:30:37.486000+02:00AnisaTuscanohttps://community.sap.com/t5/user/viewprofilepage/user-id/2003264<P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAP Community Blog BannersNovember .jpg" style="width: 869px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/469984i45C75691841430D5/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="SAP Community Blog BannersNovember .jpg" alt="SAP Community Blog BannersNovember .jpg" /></span></P><P> </P><P>November's Expert-Guided Implementation (EGI) sessions are here - and if SAP Security or Cloud ALM is on your radar, you won't want to miss them. Read on for the full schedule and registration links all included with your SAP Enterprise Support or SAP Enterprise Support, Cloud Edition at no extra cost. Ready to move from learning to results? Reserve your spot now. For more details on this service, please refer to the following <A href="https://learning.sap.com/enterprise-support/egi" target="_blank" rel="noopener noreferrer">here</A>. </P><P> </P><TABLE width="85.66071004662113%"><TBODY><TR><TD width="32.138442521631646%"><P>EGI registration link</P></TD><TD width="53.39925834363412%"><P>Schedule</P></TD></TR><TR><TD width="32.138442521631646%"><A href="https://learning.sap.com/live-sessions/egi-implementing-an-sap-security-baseline-dashboard?searchId=8a5bc9a1-61e3-4921-ace3-44979126e626&listPosition=3" target="_blank" rel="noopener noreferrer">EGI: Implementing an SAP Security Baseline Dashboard</A></TD><TD width="53.39925834363412%"><P>EMEA English 02-06 November 2026, 10:00 – 12:00 <SPAN>Europe/Berlin</SPAN></P><P>APJ English 02-06 November 2026, 10:00 – 12:00 <SPAN>Asia/Shanghai</SPAN></P><P>NA English 16-20 November 2026, 11:00 – 13:00 <SPAN>America/New_York</SPAN></P></TD></TR><TR><TD width="32.138442521631646%"><A href="https://learning.sap.com/live-sessions/egi-setup-made-simple-hands-on-with-sap-cloud-alm?searchId=eab6239f-e4f5-4220-964d-d36fae3a0822&listPosition=1" target="_blank" rel="noopener noreferrer">EGI: Setup Made Simple - Hands On with SAP Cloud ALM</A> </TD><TD width="53.39925834363412%"><P>NA English 09-11 November 2026, 11:00 – 13:00 <SPAN>America/New_York</SPAN></P><P><SPAN>APJ Chinese 24-26 November 2026, 10:00 – 12:00 Asia/Shanghai</SPAN></P><P> </P></TD></TR><TR><TD width="32.138442521631646%"><P> </P><P><A href="https://learning.sap.com/live-sessions/egi-selective-data-transfer-from-sap-solution-manager-to-sap-cloud-alm?searchId=650aa60f-11f7-4d7c-9770-e0241d48f473&listPosition=1" target="_blank" rel="noopener noreferrer">EGI: Selective Data Transfer (from SAP Solution Manager) to SAP Cloud ALM</A></P></TD><TD width="53.39925834363412%"><P><SPAN>NA English 02–04 November 2026, 11:00 – 13:00 America/New_York</SPAN><BR /><SPAN>APJ Chinese 03–05 November 2026, 10:00 – 12:00 Asia/Shanghai</SPAN></P><P><SPAN>NA English 30 November–02 December 2026, 11:00 – 13:00 America/New_York</SPAN></P><P> </P></TD></TR><TR><TD><P><A href="https://learning.sap.com/live-sessions/egi-security-optimization-service-sos?searchId=4f9edc20-9b6a-466e-9edf-970885d99aa5&listPosition=1" target="_blank" rel="noopener noreferrer">EGI: Security Optimization Service (SOS) - (English)</A> </P></TD><TD><P><SPAN>NA English 16–19 November 2026, 11:00 – 13:00 America/New_York</SPAN></P></TD></TR><TR><TD><P><A href="https://learning.sap.com/live-sessions/egi-roles-and-authorization-concept?searchId=b98187f0-e7ee-45f2-adec-33af68013b46&listPosition=2" target="_blank" rel="noopener noreferrer">EGI: Roles and Authorization Concept</A> </P></TD><TD><P><SPAN>APJ English 16–20 November 2026, 10:00 – 12:00 Asia/Shanghai</SPAN></P><P><SPAN>NA English 16–20 November 2026, 11:00 – 13:00 America/New_York</SPAN></P></TD></TR></TBODY></TABLE><P><STRONG>Important to Note:</STRONG></P><P>Browse all available topics in the SAP Enterprise Support Academy <A href="https://learning.sap.com/search?access=enterpriseSupport&objType=live-event&page=1" target="_blank" rel="noopener noreferrer">EGI Catalog</A>. </P><P>Note: Some sessions require a minimum number of participants to run. In such cases, cancellation notifications are sent by email.</P><P><STRONG>Enhance Your SAP Experience with Value Maps</STRONG></P><P>Beyond Expert-guided Implementation sessions, SAP Enterprise Support offers additional resources to help you drive innovation. <A href="https://community.sap.com/t5/sap-cloud-alm-cross-solution-topics-value-map/gh-p/alm-cross-vm" target="_blank">SAP Cloud ALM & Cross-Solution Topics Value Map<SPAN> </SPAN></A>bring together guidance, recommended actions, and supporting resources to help you decide what to focus on next - all included in your SAP cloud subscription.</P><P>Watch our <A href="https://sapvideo.cfapps.eu10-004.hana.ondemand.com/?entry_id=1_n9gri9t0" target="_blank" rel="noopener nofollow noreferrer">short demo video</A>, then head over to <A href="https://pages.community.sap.com/resources/enterprise-support-value-maps" target="_blank" rel="noopener noreferrer">our page</A> to explore our range of topics and <A href="https://forms.office.com/Pages/ResponsePage.aspx?id=bGf3QlX0PEKC9twtmXka9wYnhDAeiNtCufwRckBCmq1UNUpFVElUN1JFVkZOSFpINUoyRUVFVlVPVyQlQCN0PWcu" target="_blank" rel="noopener nofollow noreferrer">request a call</A> with a topic expert for guidance tailored to your goals. </P><P><STRONG>About the author:</STRONG> </P><P>Anisa Tuscano is a Topic Expert for SAP Enterprise Support value maps, specializing in SAP Cloud ALM and Security. Anisa is passionate about helping customers succeed through SAP Enterprise Support offerings. </P><P> </P><P><span class="lia-unicode-emoji" title=":light_bulb:">💡</span>Have <STRONG>questions</STRONG> or <STRONG>feedback</STRONG> around this content? Don’t hesitate to comment down below or contact <A href="https://community.sap.com/t5/user/viewprofilepage/user-id/2003264" target="_blank">@AnisaTuscano</A> . </P>2026-10-16T13:30:37.486000+02:00https://community.sap.com/t5/artificial-intelligence-blogs-posts/before-the-first-prompt-how-sap-engineers-trust-before-agents-are-ever/ba-p/14506046Before the First Prompt: How SAP Engineers Trust Before Agents Are Ever Invoked2026-10-18T06:14:16.233000+02:00Debdutt_Mondalhttps://community.sap.com/t5/user/viewprofilepage/user-id/1832704<P>As enterprise AI evolves from conversational assistants to agentic systems capable of retrieving enterprise information, invoking tools, and initiating business workflows, the security challenge extends beyond protecting models and prompts. It requires governing the identities, permissions, data flows, integrations, and actions that connect AI to enterprise systems.</P><P>Trust must be engineered through clearly defined security boundaries, enforceable authorization controls, data protection measures, and accountable execution paths.</P><P><SPAN>The SAP Business AI Platform is architected with exactly this in mind.</SPAN></P><P class="lia-align-center" style="text-align: center;"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Debdutt_Mondal_3-1792269735714.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/470223i87E2C9F937F24A70/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="Debdutt_Mondal_3-1792269735714.png" alt="Debdutt_Mondal_3-1792269735714.png" /></span></P><P class="lia-align-center" style="text-align: center;">The SAP Agentic AI Ecosystem</P><P><EM>This is the first blog in a three-part series on the security and governance of t<SPAN>he SAP Agentic AI ecosystem.</SPAN></EM><EM> This post covers the trust foundation: how SAP builds and validates agents before they reach your landscape, how they are provisioned, and how identity, authorization, and data isolation are enforced. Part two “ </EM><A href="https://community.sap.com/t5/artificial-intelligence-blogs-posts/use-existing-agents-build-new-ones-connect-to-others-all-securely-with-sap/ba-p/14506047" target="_self">Use Existing Agents, Build New Ones, Connect to Others — All Securely with SAP Joule Work</A><EM>” covers the practitioner layer — using SAP agents, building custom extensions, and bridging third-party AI systems. <SPAN>Part three </SPAN></EM><EM>“</EM><A href="https://community.sap.com/t5/artificial-intelligence-blogs-posts/the-agentic-glass-box-observability-and-governance-at-enterprise-scale/ba-p/14506023" target="_self">The Agentic Glass Box: Observability and Governance at Enterprise Scale”</A><EM><SPAN>concludes the series with the governance and observability architecture that gives enterprise teams the visibility and control to run AI at scale with confidence.</SPAN></EM></P><P>This post examines the first layer of that architecture — the controls SAP puts in place before a user sends a single message. It covers how security responsibilities are distributed across the agent supply chain, the provisioning model, and the identity and data isolation infrastructure; where those controls are enforced; and what enterprise IT leaders and CISOs should understand about the trust boundaries that govern agentic AI in SAP.</P><H2 id="toc-hId-1845050778">How SAP Ensures Agents Are Secure and Trustworthy Before You Provision Them</H2><P>Every agent that appears in your SAP product catalog has passed through a structured security and governance program, built on a rigorous <A href="https://www.sap.com/documents/2016/03/a248a699-627c-0010-82c7-eda71af511fa.html" target="_blank" rel="noopener noreferrer">Secure Software Development and Operations Lifecycle</A>, before it ever reaches your landscape. This program is built around the principle that trust must be earned through verifiable processes.</P><P>The foundation is controlled ownership and traceability. Each agent is formally registered within SAP with a defined owner, a declared scope, and a stable identity. It goes through multi-team review before it is eligible for customer deployment, and a complete Software Bill of Materials is generated automatically — documenting every component and dependency in the agent, giving a transparent view of what is running.</P><P>Security and governance are validated at every stage of development:</P><UL><LI>Every agent goes through a formal <A href="https://www.sap.com/products/artificial-intelligence/ai-ethics.html?pdf-asset=7211ee96-647e-0010-bca6-c68f7e60039b&page=21" target="_blank" rel="noopener noreferrer">Ethics evaluation</A> to verify fairness, transparency, human oversight (e.g., through human-in-the-loop) and alignment with global data privacy laws before development begins.</LI><LI>Agents go through a rigorous threat evaluation exercise performed to identify and mitigate risks during the design phase.</LI><LI>Code security is checked through mandatory automated scans covering application vulnerabilities, exposed credentials, and known weaknesses in third-party libraries, before the agent advances toward production</LI><LI><SPAN>Authorization is managed as policy - agent-to-API permissions (e.g. read on a specific S/4 API resource) are assigned automatically during tenant mapping and provisioned as authorization policies in </SPAN><A href="https://help.sap.com/docs/cloud-identity-services/cloud-identity-services/configuring-authorization-policies" target="_blank" rel="noopener noreferrer"><SPAN>SAP Cloud Identity Services</SPAN></A><SPAN>.</SPAN></LI><LI><A href="https://help.sap.com/docs/sap-audit-log" target="_blank" rel="noopener noreferrer">Audit logging</A><SPAN> is non-negotiable — every agent must implement security event logging.</SPAN></LI><LI>All AI model interactions are routed through <A href="https://help.sap.com/docs/sap-ai-core" target="_blank" rel="noopener noreferrer">SAP AI Core</A><SPAN> — ensuring data residency, </SPAN><A href="https://help.sap.com/docs/sap-ai-core/generative-ai/content-filtering" target="_blank" rel="noopener noreferrer">content filtering</A><SPAN>, and prompt injection protection can be enforced consistently, depending on the risk profile of the Agent.</SPAN></LI></UL><P>Deployment follows a controlled, staged release process across development, test, and pre-production environments. Each step toward production requires an explicit human decision — there is no automated approval path from development to your landscape. The artifact that was validated in testing is the exact same artifact that reaches production; nothing is rebuilt or changed along the way.</P><P>Finally, every agent undergoes a formal security review before production release. The shared infrastructure SAP manages on your behalf — identity, network security, tenant isolation, geo-blocking — is covered automatically. The security review validates the agent's own logic, access controls, and AI-specific risks on top of the baseline.</P><P>By the time you see an agent in your <A href="https://discovery-center.cloud.sap/ai-catalog/" target="_blank" rel="noopener nofollow noreferrer">SAP product catalog</A>, it carries a documented chain of custody: who built it, what it contains, what security gates it passed, and what authorization model it enforces.</P><H2 id="toc-hId-1648537273"><SPAN>SAP for Me</SPAN><SPAN>: Your Unified Hub for Subscription and Automated Provisioning</SPAN></H2><P><SPAN>The lifecycle of an enterprise agent is governed by <A href="https://me.sap.com/" target="_blank" rel="noopener noreferrer">SAP for Me</A>, which serves as the centralized control plane for provisioning and subscription management. This interface streamlines the deployment of Joule components, replacing complex manual BTP formations with a guided "Start Provisioning" workflow. </SPAN></P><UL><LI><STRONG>Governed Activation & Licensing:</STRONG> Customers activate specific agent scenarios (e.g., Finance Assistant, HR Service Desk) directly through SAP for Me. Access is strictly gated by <STRONG>valid subscription licenses</STRONG> (such as Joule-based or Early Adopter Care SKUs) and landscape prerequisites (e.g., connected S/4HANA or SuccessFactors systems). This ensures that only licensed, technically compatible agents are deployed within the enterprise topology.</LI></UL><UL><LI><STRONG>Managed Orchestration & Trust:</STRONG> Under the <SPAN><A href="https://learning.sap.com/courses/introducing-joule/activating-joule_c2c35ec3-8a48-42e0-928d-ec61a3b951c1" target="_blank" rel="noopener noreferrer">SAP Managed Joule</A></SPAN> model, SAP assumes responsibility for the underlying infrastructure, including the Agent Gateway Formation. This mandatory formation establishes the secure, Service Provider Integration Interface (SPII) - based trust foundation (via IAS-backed destinations and token exchange) required for agent-to-agent communication. SAP manages the continuous updates, patching, and operational health of this global trust infrastructure, freeing customers from managing core AI runtime security.</LI></UL><UL><LI><STRONG>Principal Propagation & Boundary Enforcement:</STRONG> Activation initiates the automated creation of service formations within the designated BTP subaccount. Security boundaries are enforced through principal propagation, where the Agent Gateway ensures that agent actions strictly respect the end-user's existing roles and identity context. This guarantees that agents operate only on data accessible to the user, preventing cross-tenant leakage or privilege escalation across integrated solutions.</LI></UL><P><SPAN> </SPAN><EM><SPAN>Example: </SPAN></EM><SPAN><A href="https://learning.sap.com/courses/exploring-joule-and-ai-agents-in-sap-successfactors/enabling-joule-and-ai-features-in-sap-successfactors_ca7be744-c905-4c61-9cb7-dc5202372522" target="_blank" rel="noopener noreferrer"><EM>Enabling Joule and AI Features in SAP SuccessFactors</EM></A></SPAN></P><P><SPAN>By automating the technical "plumbing" in the background, SAP4Me allows you to maintain control over your high-level service settings while simplifying the onboarding experience.</SPAN></P><H2 id="toc-hId-1452023768">The Identity & Authorization Framework (IAM) for SAP Agentic AI</H2><P><SPAN> </SPAN>SAP Joule utilizes a robust governance model where AI agents are treated as first-class citizens—distinct service principals with their own boundaries and permissions. This architecture is built on <SPAN><A href="https://help.sap.com/docs/cloud-identity-services/cloud-identity-services/what-is-identity-authentication" target="_blank" rel="noopener noreferrer">SAP Cloud Identity Services</A></SPAN> (IAS), which serves as the trust anchor and sole token issuer for agent identities.</P><P>To understand how this secures your data, we must look at the four distinct validation layers defined in the architecture:</P><P><STRONG> 1. </STRONG><STRONG>End user Authentication</STRONG></P><P><SPAN>End-users authenticate via standard enterprise protocols (OIDC/SAML) through SAP Cloud Identity Services.</SPAN><STRONG> </STRONG></P><P><STRONG>2. Validating User-to-Agent Access (Connectivity Governance)</STRONG></P><P><EM>The First Line of Defence.</EM> Before an agent even begins to work, the system must answer: <EM>"Is this user allowed to talk to this specific agent?"</EM></P><UL><LI>How it works: When a user invokes Joule, the request is routed through the Agent Gateway <SPAN>which acts as the enforced single entry point for connectivity.</SPAN></LI><LI>The Mechanism: <SPAN>Two layers work together </SPAN><UL><LI><SPAN>System connectivity is established through a UCL (Unified Customer Landscape) formation, which onboards the tenants/systems and wires up the trust (IAS App2App dependencies) between them. If that connection hasn't been formed, the caller can't even obtain a valid token to reach the agent.</SPAN></LI><LI><SPAN>User authorization is then checked against AMS (Authorization Management Service) policies — this is the per-user "is this user permitted to invoke this agent?" decision. (Agent and tool metadata itself lives in BTP, which is what the Gateway resolves the target against.).</SPAN></LI></UL></LI></UL><P>A caller that is not connected and authorized is rejected before reaching the agent.</P><P><STRONG> 3. </STRONG><STRONG>Validating Agent-to-Tool Access (Orchestration Governance)</STRONG></P><P><EM>The Handshake.</EM> Once a user connects to an agent, the system must answer: <EM>"Is this agent allowed to use this tool?"</EM></P><UL><LI>How it works: The Agent Gateway acts as a transparent proxy in front of tools and other agents. When an agent needs to execute a task, it presents its own IAS-issued, certificate-bound token; the Gateway performs the token exchange and injects the right credentials toward the target service.</LI><LI>The Mechanism: The Agent Gateway enforces authorization policies via AMS, checking whether a specific agent is allowed to call a specific tool (this is done with IAS token validation, mTLS, and tenant-mapping checks). This keeps every agent inside its defined scope — e.g., an HR agent can reach its HR systems but can't invoke a Finance tool it was never granted.</LI></UL><P><STRONG>4. Validating Data Access (Functional Authorization)</STRONG></P><P><EM>The Final Security Layer.</EM> Finally, the system must answer: <EM>"Is this request allowed to see/read/write this specific data?"</EM></P><UL><LI>How it works: The target application (e.g., SAP S/4HANA) enforces standard SAP Cloud Application authorization.</LI><LI>The Mechanism: This relies on established SAP concepts of Roles, Roles Catalogs, and Scopes. The agent's token includes the context of the <EM>original user</EM>. Therefore, the target application ensures that the action is only performed if the <EM>human user</EM> has permission to see that data (Row-Level Security).</LI></UL><P>This multi-layered approach ensures that governance is not a single point of failure. The system fails early: if the user lacks connectivity, the agent is never called; if the agent lacks functional authorization, the data is never touched.</P><H2 id="toc-hId-1255510263"><SPAN> </SPAN><SPAN>Data Segregation & Isolation </SPAN></H2><P><SPAN> </SPAN><SPAN>A core tenet of Joule security is strict tenant isolation at every layer of the stack:</SPAN></P><P><SPAN>Your business data remains strictly isolated within your specific Line of Business applications, governed by the proven, multi-tenant security architecture already established in the backend systems. Access to this data is governed by the existing application logic, ensuring that even AI interaction is strictly constrained by functional or business rules supported by authorization.</SPAN></P><P><SPAN> </SPAN><SPAN>Metadata within the <A href="https://www.sap.com/products/artificial-intelligence/knowledge-graph.html" target="_blank" rel="noopener noreferrer">SAP Knowledge Graph</A> and data in <A href="https://help.sap.com/docs/hana-cloud-database/sap-hana-cloud-sap-hana-database-vector-engine-guide/introduction" target="_blank" rel="noopener noreferrer">SAP HANA Cloud Vector Engine</A> is strictly partitioned per Tenant. Joule leverages the SAP BTP multi-tenancy infrastructure to ensure that every query is bound to a specific tenant context. This ensures that there is no cross-tenant data leakage or overlap.</SPAN></P><P>Joule utilizes <SPAN><A href="https://architecture.learning.sap.com/docs/ref-arch/8063d2" target="_blank" rel="noopener noreferrer">Retrieval-Augmented Generation</A></SPAN> (RAG) to access enterprise data through the <SPAN><A href="https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/generative-ai-hub-in-sap-ai-core" target="_blank" rel="noopener noreferrer">Generative AI Hub</A></SPAN> in <SPAN><A href="https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/what-is-sap-ai-core" target="_blank" rel="noopener noreferrer">SAP AI Core</A></SPAN>. Crucially, this process is automated and governed by strict multi-tenant isolation:</P><UL><LI><STRONG>Automated Onboarding:</STRONG> You do not manually manage files or keys. Instead, you define "Grounding Sources" in the <SPAN><A href="https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/generative-ai-hub-in-sap-ai-core" target="_blank" rel="noopener noreferrer">Generative AI Hub</A></SPAN>, pointing it to your backend systems (e.g., S/4HANA CDS Views, SAP Build Work Zone) via generic secrets. The platform automatically extracts metadata and ingests the content securely.</LI><LI><STRONG>Tenant-Safe Vectorization:</STRONG> For unstructured data like PDFs or documents, the system processes the text and converts it into numerical vectors (embeddings). These are stored in the SAP HANA Cloud Vector Engine, where every piece of data is partitioned by your unique tenant identifier.</LI><LI><STRONG>Architectural Isolation:</STRONG> Data separation is enforced at the infrastructure level through the platform's multi-tenancy model, which scopes every query to the caller's tenant context. This ensures that Joule can never retrieve or process data from another tenant.</LI></UL><P><SPAN>Your prompts to Joule and the retrieved or processed data in <A href="https://www.sap.com/products/artificial-intelligence/joule-work.html" target="_blank" rel="noopener noreferrer">Joule Work</A> is not shared with third-party LLM providers for the purpose of training or improving their models. Your data is only sent to the LLM provider for processing and is not stored or otherwise retained by the LLM providers.</SPAN></P><P><SPAN> </SPAN></P><P><STRONG>To Be Continued…</STRONG></P><P><SPAN>The controls described here are what make agentic AI deployable with confidence. But a secure foundation only matters if what you build on top of it holds up. Part two </SPAN><EM>“ </EM><A href="https://community.sap.com/t5/artificial-intelligence-blogs-posts/use-existing-agents-build-new-ones-connect-to-others-all-securely-with-sap/ba-p/14506047" target="_self">Use Existing Agents, Build New Ones, Connect to Others — All Securely with SAP Joule Work</A><EM>” </EM><SPAN>covers exactly that.</SPAN></P><H3 id="toc-hId-1188079477"><SPAN>Additional Resources:</SPAN></H3><P><SPAN><A href="https://www.sap.com/about/trust-center/security.html" target="_blank" rel="noopener noreferrer">Protect your cloud solutions and data with SAP security</A></SPAN></P><P><SPAN><A href="https://www.sap.com/products/artificial-intelligence/ai-ethics.html" target="_blank" rel="noopener noreferrer">Responsible AI @ SAP</A></SPAN></P><P><A href="https://www.sap.com/products/artificial-intelligence/ai-ethics.html?pdf-asset=a8431b91-117e-0010-bca6-c68f7e60039b&page=1" target="_blank" rel="noopener noreferrer"><SPAN>SAP Global AI Ethics Policy</SPAN></A></P><P><SPAN><A href="https://www.sap.com/products/artificial-intelligence/ai-ethics.html?pdf-asset=7211ee96-647e-0010-bca6-c68f7e60039b&page=1" target="_blank" rel="noopener noreferrer">SAP AI Ethics Handbook</A><BR /><A href="https://learning.sap.com/courses/introducing-joule/activating-joule_c2c35ec3-8a48-42e0-928d-ec61a3b951c1" target="_blank" rel="noopener noreferrer">Activating Joule</A></SPAN></P><P><SPAN><A href="https://support.sap.com/content/s4m/help/portfolio/provisioning.html?anchorId=provanapp" target="_blank" rel="noopener noreferrer">SAP for Me - Product Packages - Provisioning & Integration Dashboard</A></SPAN></P><P><SPAN><A href="https://learning.sap.com/courses/guiding-ai-driven-transformation-as-an-sap-enterprise-architect/differentiating-shifting-operating-models-from-customer-managed-to-sap-managed-joule_aa4f715f-8853-4fb4-8abc-fb1d1a1d1302" target="_blank" rel="noopener noreferrer">Shifting Operating Model - From Customer-Managed to SAP-Managed Joule</A></SPAN></P><P><SPAN><A href="https://news.sap.com/2026/06/sap-launches-joule-in-sap-for-me/" target="_blank" rel="noopener noreferrer">SAP Launches Joule in SAP for Me: An AI-Powered Gateway to Insights, Support, and Guided Actions</A></SPAN></P><P> </P><P><STRONG> </STRONG></P><P><SPAN> </SPAN></P>2026-10-18T06:14:16.233000+02:00https://community.sap.com/t5/artificial-intelligence-blogs-posts/the-agentic-glass-box-observability-and-governance-at-enterprise-scale/ba-p/14506023The Agentic Glass Box: Observability and Governance at Enterprise Scale2026-10-18T06:44:37.931000+02:00Debdutt_Mondalhttps://community.sap.com/t5/user/viewprofilepage/user-id/1832704<P>Knowing that an agent was built securely and knowing that it is behaving securely right now are two different things. The trust foundation that Part one described — vetted supply chains, governed provisioning, enforced identity — is a starting point, not a guarantee. Agents evolve. Configurations change. New integrations are added. The ecosystem grows. And as it grows, the need for visibility becomes not a nice-to-have but a hard governance requirement.</P><P>Enterprise AI cannot operate as a black box. Not for regulators. Not for auditors. Not for the IT and security teams responsible for what happens when an agent makes the wrong call at scale. The answer is a glass box approach: every agent action observable, every identity traceable, every data access auditable — not eventually, but by design, from the moment an agent is deployed.</P><P><EM>This is the third and final post in the series. Part one <SPAN>”</SPAN></EM><A href="https://community.sap.com/t5/artificial-intelligence-blogs-posts/before-the-first-prompt-how-sap-engineers-trust-before-agents-are-ever/ba-p/14506046" target="_self">Before the First Prompt: How SAP Engineers Trust Before Agents Are Ever Invoked” </A><EM>built the trust foundation. Part two </EM><EM>“ </EM><A href="https://community.sap.com/t5/artificial-intelligence-blogs-posts/use-existing-agents-build-new-ones-connect-to-others-all-securely-with-sap/ba-p/14506047" target="_self">Use Existing Agents, Build New Ones, Connect to Others — All Securely with SAP Joule Work</A><EM>” </EM><EM>covered using, extending, and connecting agents. This post closes the loop — the governance and observability layer that gives enterprise teams real-time visibility, cross-platform control, and compliance-grade audit trails across the entire Joule Work ecosystem.</EM></P><P>It covers three areas: how Joule Work's security model adapts across Web, Mobile, and Desktop; how the SAP AI Agent Hub in SAP LeanIX acts as a vendor-agnostic command centre for governing every AI asset in your landscape; and how the monitoring and audit architecture — built on OpenTelemetry, the SAP Audit Log Service, and integrated with Cloud ALM and Signavio — delivers the traceability enterprise governance demands.</P><H2 id="toc-hId-1845050713"><SPAN> </SPAN><STRONG><FONT size="5">Governance Across Modalities</FONT></STRONG></H2><P><SPAN>Joule adapts its security posture to the device context: Web, Mobile, and Desktop.</SPAN></P><P><STRONG>Joule Work Web </STRONG></P><P><SPAN>Joule Work Web is the core AI workspace running in the browser with a platform-first security model focused on tenant isolation, identity-bound access, and governed agent execution.</SPAN></P><UL><LI><SPAN>Identity: Access is gated by SAP Business Technology Platform (BTP) Identity Authentication Service (IAS) by assigning users to the </SPAN>joule_end_user<SPAN> group.</SPAN></LI><LI><SPAN>Session Management: Uses token-based session management with short expiration times.</SPAN></LI><LI><SPAN>Network Security: All communication occurs over secure TLS.</SPAN></LI><LI>Data access: Joule <SPAN>responses only surface data the authenticated user is already authorized to see</SPAN></LI><LI>Tenant-level data isolation<SPAN> : Customer data stays within the customer's own SAP tenancy; no customer data is stored within Joule itself</SPAN></LI></UL><P><STRONG>Joule Work Mobile App</STRONG></P><P><A href="https://www.sap.com/products/mobile/joule-work-mobile-app.html" target="_blank" rel="noopener noreferrer"><SPAN>Joule Work Mobile</SPAN></A><SPAN> brings Joule to the enterprise edge — iOS, Android, and wearables — with a security model anchored in device governance, MDM-enforced access policies, and full data erasure on offboarding</SPAN></P><UL><LI>SSO via short-lived tokens, with SAP Cloud Identity Services (IAS) as the primary IdP — supports proxy to corporate IdPs (e.g. Microsoft Entra ID)</LI><LI>Configurable Remember Me session cookies when IAS is active</LI></UL><UL><LI>MDM integration enables automated onboarding, conditional access, and app protection policies</LI><LI>Remote wipe and inactivity-based auto-deregistration remove access and data on lost or inactive devices</LI></UL><UL><LI>Local data encrypted with AES-256 (iOS additionally uses Keychain); all traffic over HTTPS</LI><LI>Sign-out permanently removes all personal data and configurations from the device</LI></UL><UL><LI>Access to security settings, feature flags, and user management is gated by a dedicated MobileAdmin BTP Role Collection</LI><LI>Enterprise app distribution requires signed builds (Apple certificates/provisioning profiles); admin-configurable support log uploads for audit and troubleshooting</LI></UL><P>Refer: <A href="https://help.sap.com/doc/be3fbb0cedd446e790420b178622720f/latest/en-US/987ea389fe034401b3083d86d46ac97d.pdf" target="_blank" rel="noopener noreferrer">Joule Work Mobile App – Administration Guide</A></P><P><STRONG>Joule Work Desktop </STRONG></P><P><SPAN><A href="https://www.sap.com/products/artificial-intelligence/joule-work/desktop-app.html" target="_blank" rel="noopener noreferrer">Joule Work Desktop</A> extends AI capabilities to local files (PDFs, Code, Office docs) with a unique <A href="http://help.sap.com/docs/JOULE_WORK_DESKTOP/f1ec0a7e44df420b91f265a9185b26a8/06d034b3f5104ef3a731b9a2362c3a39.html" target="_blank" rel="noopener noreferrer">security model</A> focused on data privacy:</SPAN></P><UL><LI>Users must be explicitly assigned — no self-service enrolment. <SPAN>Authentication and Authorizations is managed by SAP IAS</SPAN></LI><LI><SPAN>User conversations remain locally stored on user device, user can delete at any time.</SPAN></LI><LI><SPAN>The Desktop extension acts as a sandboxed process. It cannot access the operating system's clipboard or other application memory without specific, user-initiated actions.</SPAN></LI><LI><SPAN>Governance of which MCPs the user can use, happens via the Admin UI. In the Admin UI, customer admins can define allow/blocklists for certain MCPs. These settings are fetched by the client and enforced on client side. User can only enable those MCP servers on the client which are allowed.</SPAN></LI></UL><H2 id="toc-hId-1648537208"><SPAN> </SPAN></H2><H2 id="toc-hId-1452023703">V<SPAN>endor-agnostic command center - </SPAN>SAP AI Agent Hub</H2><P> </P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Debdutt_Mondal_0-1792265152321.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/470206iD60570C6C17F24FB/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="Debdutt_Mondal_0-1792265152321.png" alt="Debdutt_Mondal_0-1792265152321.png" /></span></P><P class="lia-align-center" style="text-align: center;">SAP AI Agent Hub: Your command center for AI governance</P><P><SPAN>AI Agent Hub works in conjecture with already existing SAP products (Ex: Cloud ALM, Signavio, SuccessFactors) to enhance the experience of building an agent, monitoring of the process and agent health and workforce impact. We will discuss these capabilities below.</SPAN></P><P> </P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Debdutt_Mondal_0-1792295791518.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/470283iE6FEC4E78779D9E8/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="Debdutt_Mondal_0-1792295791518.png" alt="Debdutt_Mondal_0-1792295791518.png" /></span></P><P class="lia-align-center" style="text-align: center;">Architecture Decisions Inventory</P><P><SPAN> </SPAN><SPAN>By integrating SAP </SPAN><A href="https://www.leanix.net/en/sap-ai-agent-hub-with-sap-leanix-application-portfolio-management" target="_blank" rel="noopener nofollow noreferrer"><SPAN>LeanIX</SPAN></A><SPAN>’s context-rich enterprise architecture inventory with the AI Agent Hub, organizations embed governance directly into the agent development lifecycle. The Architecture Decisions view captures foundational technical and policy choices (e.g., LLM framework selection, PII data handling strategies, initial scaling limits) and automatically surfaces these guardrails during agent creation. This ensures new agents are aligned with established architectural standards from day one rather than requiring retrospective remediation.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Debdutt_Mondal_1-1792295826614.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/470284i3055D9BC58EDE50F/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="Debdutt_Mondal_1-1792295826614.png" alt="Debdutt_Mondal_1-1792295826614.png" /></span></P><P class="lia-align-center" style="text-align: center;"><SPAN>Real-Time Landscape Discovery & Dependency Mapping</SPAN></P><P><SPAN>During development, the integrated MCP server continuously queries the live LeanIX landscape to perform automated capability mapping and dependency analysis. As the agent builder progresses through business understanding, fit-gap assessment, and process design, it automatically:</SPAN></P><UL><LI><SPAN>Identifies relevant existing agents (e.g., Invoice Mapper Agent)</SPAN></LI><LI><SPAN>Surfaces supporting applications & data sources (e.g., S/4HANA Private Cloud, Oracle, custom SAP systems)</SPAN></LI><LI><SPAN>Maps cross-system dependencies and process touchpoints</SPAN></LI></UL><P><SPAN>This eliminates manual landscape research and ensures agents are grounded in the actual enterprise architecture, preventing duplicate investments and unplanned integration risks.</SPAN></P><H2 id="toc-hId-1255510198"> </H2><P class="lia-align-center" style="text-align: center;"><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Debdutt_Mondal_1-1792265152325.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/470204i15AE41D152DABE66/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="Debdutt_Mondal_1-1792265152325.png" alt="Debdutt_Mondal_1-1792265152325.png" /></span></P><P class="lia-align-center" style="text-align: center;"><SPAN>AI Agent Discovery Inbox</SPAN></P><P><A href="https://www.sap.com/products/artificial-intelligence/ai-agent-hub.html" target="_blank" rel="noopener noreferrer">SAP AI Agent Hub</A> <SPAN>— a capability within </SPAN><A href="https://www.leanix.net/en/sap-ai-agent-hub-with-sap-leanix-application-portfolio-management" target="_blank" rel="noopener nofollow noreferrer"><SPAN>SAP LeanIX</SPAN></A><SPAN> — has<STRONG> </STRONG>the AI Agent Discovery Inbox which provides centralized visibility into all AI artifacts across the enterprise—agents, MCP servers, and LLM instances—regardless of origin or vendor. Integrated usage analytics (activation history, session volume, trend patterns) enable governance teams to prioritize high-impact interventions. Discovered assets enter a unified workflow for rapid assessment, classification, and inventory onboarding.</SPAN></P><P> </P><P class="lia-align-center" style="text-align: center;"><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Debdutt_Mondal_2-1792265152330.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/470205i3AB7F3CBDC295671/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="Debdutt_Mondal_2-1792265152330.png" alt="Debdutt_Mondal_2-1792265152330.png" /></span></P><P class="lia-align-center" style="text-align: center;"><SPAN>Verification Workflow & Compliance Enforcement</SPAN></P><P><SPAN>Unlike traditional platforms that treat agents as isolated IT components, SAP AI Agent Hub maps each agent as a first-class enterprise architecture artifact. Every agent is explicitly linked to:</SPAN></P><UL><LI><SPAN>The business capability it enables</SPAN></LI><LI><SPAN>Downstream applications and data flows it depends on</SPAN></LI><LI><SPAN>The value stream/processes it participates in</SPAN></LI></UL><P><SPAN>The Verification Workflow subject all inventory entries to structured assessment against organizational risk criteria, compliance mandates, and architecture standards. Successful verification generates a formal audit trail capturing approval authority, ownership, operational scope, and dependency impact. Only verified agents are permitted in production, effectively closing the approve-to-run gap and standardizing governance expectations across development teams.</SPAN></P><P> </P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Debdutt_Mondal_1-1792269102776.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/470217i9A77ADA97125000A/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="Debdutt_Mondal_1-1792269102776.png" alt="Debdutt_Mondal_1-1792269102776.png" /></span></P><P class="lia-align-center" style="text-align: center;">Agent Operation Overview</P><P><A href="https://www.signavio.com/wiki/process-discovery/ai-agent-mining/" target="_blank" rel="noopener nofollow noreferrer">Agent Mining in SAP Signavio</A> <SPAN>applies process mining algorithms to agent execution traces, reconstructing how agents actually behave in production. It produces a discovered execution model showing every path taken, path frequency, and deviations from the intended design — going beyond session-level observability to surface the full range of execution variants, including edge cases.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Debdutt_Mondal_2-1792269176634.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/470218iDD318342ECBA9783/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="Debdutt_Mondal_2-1792269176634.png" alt="Debdutt_Mondal_2-1792269176634.png" /></span></P><P class="lia-align-center" style="text-align: center;"><SPAN>Agent Performance Deep Drive</SPAN></P><P><SPAN>The view above in SAP Signavio Agent Mining translates the mined execution model into prioritized optimization opportunities, functioning as a closed-loop business-outcome feedback mechanism. By connecting behavioral patterns directly to measurable KPIs, it quantifies return on investment and surfaces actionable insights. When agents follow incorrect execution paths at high frequency, it signals a systematic misalignment between agent design and business intent—not merely an isolated failure. Optimization potential is evaluated not only on technical metrics but on actual process outcomes: is the workflow the agent was deployed to improve actually performing better? This closes the gap between agent deployment and tangible value realization, enabling organizations to focus efforts on their most effective agents—answering the ROI and performance questions that leadership increasingly demands but few can currently provide<EM>.</EM></SPAN></P><P> </P><P><A href="https://help.sap.com/docs/cloud-alm/applicationhelp/ai-agent-monitoring" target="_blank" rel="noopener noreferrer">AI Agent Monitoring</A> in SAP Cloud ALM provides two levels of visibility into agent health and behaviour across the enterprise.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Debdutt_Mondal_3-1792269226955.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/470219i944C279189289038/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="Debdutt_Mondal_3-1792269226955.png" alt="Debdutt_Mondal_3-1792269226955.png" /></span></P><P class="lia-align-center" style="text-align: center;">Deep Dive View</P><P>Session-Level Visibility (Deep Dive): Traces a single execution of the agent in detail—covering latency, token usage, and tool invocation flows. By utilizing underlying OpenTelemetry traces, engineers can reproduce issues, inspect reasoning steps, and understand exactly how the agent interacted with backend systems like S/4HANA. Every session is logged to ensure compliance-grade auditability.</P><P class="lia-align-center" style="text-align: center;"><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Debdutt_Mondal_1-1792268272471.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/470214i884CBD553E68F36F/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="Debdutt_Mondal_1-1792268272471.png" alt="Debdutt_Mondal_1-1792268272471.png" /></span></P><P class="lia-align-center" style="text-align: center;">High-Level View</P><P>Portfolio-Level Overview (High-Level): Displays the aggregate health of an agent across the environment using real-time dashboards. Key metrics such as Goal Completion Rate and Total Call Accuracy trend over time, allowing teams to quickly distinguish between isolated incidents and systemic issues. If an anomaly is detected, the dashboard provides a root-cause breakdown of the risk category (e.g., usage spikes or accuracy drops), enabling rapid response and data-driven governance decisions.</P><P><SPAN> </SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Debdutt_Mondal_0-1792268177215.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/470213iE696673EBA1D9034/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="Debdutt_Mondal_0-1792268177215.png" alt="Debdutt_Mondal_0-1792268177215.png" /></span></P><P class="lia-align-center" style="text-align: center;">SAP SucessFactors Integration</P><P><A href="https://www.sap.com/products/hcm/about-successfactors.html" target="_blank" rel="noopener noreferrer">SAP SuccessFactors</A> helps you understand how your agent deployment strategy is reshaping your workforce. Each agent is mapped to the business units and roles it affects, giving HR and business leaders visibility into which skills are impacted, which teams are using agents, and how the workforce is changing as AI deployment scales.</P><P><SPAN>Together, these integrations span the full agent governance lifecycle. SAP LeanIX grounds every agent in the enterprise architecture — ensuring it is aligned to established standards. SAP AI Agent Hub discovers the agents, the agents can be verified and enabled for production. SAP Signavio reveals how agents actually behave once deployed, surfacing deviations from intended design and connecting execution patterns to business outcomes. SAP Cloud ALM provides the operational layer — real-time health monitoring at both the session and portfolio level, with the depth engineers need to investigate and the breadth leadership needs to govern. SAP SuccessFactors closes the loop on the human side, mapping agent deployment to workforce and organizations. <BR /><BR /></SPAN></P><H2 id="toc-hId-1058996693"><SPAN>Observability and Compliance</SPAN></H2><P><SPAN>Trust requires visibility. Joule provides a "Glass Box" architecture for enterprise monitoring:</SPAN></P><UL><LI><STRONG>Observability (OpenTelemetry):</STRONG> Agent runtimes are instrumented with OpenTelemetry — the standard SAP has adopted for logs, metrics, and traces — and Joule Studio's Traces & Explainability surface lets users inspect agent execution traces for transparency and debugging.</LI><LI><STRONG>Audit logging (SAP Audit Log Service):</STRONG> Security-relevant events generated by agents and their interactions — such as authentications, authorization/validation errors, and unauthenticated access attempts — are recorded through the SAP Audit Log Service (the BTP audit log offering)</LI><LI><STRONG>SIEM integration:</STRONG> Audit log events are forwarded from the SAP Audit Log Service to enterprise SIEM systems for further security analysis.</LI><LI><STRONG>Content safety: </STRONG>Inputs and outputs can pass through <A href="https://help.sap.com/docs/sap-ai-core/generative-ai/orchestration-workflow-v2?ai=true" target="_self" rel="noopener noreferrer">AI Core Orchestration Service</A>'s <A href="http://help.sap.com/docs/sap-ai-core/generative-ai/content-filtering?ai=true" target="_self" rel="noopener noreferrer">content filtering, </A>they scan for and block non-compliant content.</LI><LI><STRONG>Runtime containment (NVIDIA OpenShell):</STRONG> SAP's collaboration with NVIDIA embeds OpenShell into the Joule Studio runtime, providing isolated execution boundaries, network and filesystem policy enforcement, and runtime-level auditability — ensuring agent actions are governed and inspectable at the environment level, independent of the model or application code.</LI></UL><H2 id="toc-hId-862483188"><SPAN>Summary</SPAN></H2><P>This series has traced the governance <SPAN>challenge of enterprise agentic AI </SPAN>from its origin to its resolution. Part one established the trust foundation before agents are ever invoked — supply chain controls, provisioning governance, and identity architecture that ensure every agent starts from a verified baseline. Part two showed how that foundation holds under the pressure of real work: users engaging through Conversations and Spaces, developers extending the platform via Joule Studio and BYOA paths, and the enterprise bridging its SAP systems to third-party AI ecosystems — all within a "one governed door" architecture enforced by the Agent Gateway. This post closed the loop, demonstrating how Joule's security model adapts across Web, Mobile, and Desktop modalities; how the SAP AI Agent Hub provides a vendor-agnostic command center that maps every AI asset back to the business processes and risk criteria it touches; and how observability — through OpenTelemetry, the SAP Audit Log Service, SIEM integration, and NVIDIA OpenShell's runtime containment — transforms Joule Work into a glass box.</P><P><EM>Note: this architecture is evolving — capabilities, integrations, and controls described here will continue to develop as the platform matures.</EM></P><H3 id="toc-hId-795052402"><SPAN>Additional Resources:</SPAN></H3><P><SPAN><A href="https://pages.community.sap.com/topics/ai-agent-hub" target="_blank" rel="noopener noreferrer">SAP AI Agent Hub – Community Page</A></SPAN></P><P><SPAN><A href="https://help.sap.com/docs/JOULE_WORK_DESKTOP" target="_blank" rel="noopener noreferrer">Joule Work Desktop</A> </SPAN></P><P><SPAN><A href="https://help.sap.com/docs/joule/joule-work-621104a90a01407fbb2d1613db39a54d/welcome-to-joule-work" target="_blank" rel="noopener noreferrer">SAP Joule Work</A></SPAN></P><P><SPAN><A href="https://www.signavio.com/highlights/ai-agent-excellence/" target="_blank" rel="noopener nofollow noreferrer">Signavio AI Agent Excellence</A></SPAN></P><P><SPAN><A href="https://architecture.learning.sap.com/docs/ref-arch/3c8d50" target="_blank" rel="noopener noreferrer">AI Agent Behavior Mining with SAP Signavio</A></SPAN></P><P><SPAN> </SPAN></P><P><SPAN> </SPAN></P>2026-10-18T06:44:37.931000+02:00https://community.sap.com/t5/technology-blog-posts-by-members/snc-with-kerberos-after-migration-part-5-runbook-and-cheat-sheet/ba-p/14506138SNC with Kerberos after migration, Part 5: runbook and cheat sheet2026-10-19T09:33:53.399000+02:00AkumaryafirAkhttps://community.sap.com/t5/user/viewprofilepage/user-id/1430983<H2 id="toc-hId-1845051710">Introduction</H2><P><STRONG>About this series.</STRONG> After a data center migration to RHEL 9 and an Oracle 19c client, our SAP ABAP system would not start once SNC with Kerberos was switched on. Behind that one symptom were two separate problems.</P><UL><LI><A href="https://community.sap.com/t5/technology-blog-posts-by-members/snc-with-kerberos-stops-sap-from-starting-after-migration-two-problems/ba-p/14496662" target="_blank">Overview</A>: the whole story and both fixes in short</LI><LI><A href="https://community.sap.com/t5/technology-blog-posts-by-members/how-snc-with-kerberos-logs-you-into-sap-without-a-password-explained-with-a/ba-p/14497632" target="_blank">Part 1</A>: how SNC with Kerberos logs you into SAP without a password</LI><LI><A href="https://community.sap.com/t5/technology-blog-posts-by-members/snc-with-kerberos-after-migration-part-2-oracle-19c-the-dynamic-linker-and/ba-p/14498424" target="_blank">Part 2</A>: why the Oracle 19c client crashed the work process, and LD_PRELOAD</LI><LI><A href="https://community.sap.com/t5/technology-blog-posts-by-members/snc-with-kerberos-after-migration-part-3-how-i-proved-it-and-the-dead-ends/ba-p/14500801" target="_blank">Part 3</A>: how I proved it, and the dead ends</LI><LI><A href="https://community.sap.com/t5/technology-blog-posts-by-members/snc-with-kerberos-after-migration-part-4-quot-initiating-credentials-not/ba-p/14503215" target="_blank">Part 4</A>: "Initiating Credentials not available": keytab, ticket and credential cache</LI><LI><STRONG>Part 5 (this post)</STRONG>: runbook and cheat sheet</LI></UL><P>This last part is the one to bookmark. No story, just everything from the series on one page: the final configuration, what to check after a restart, and what to do when a specific error shows up.</P><H2 id="toc-hId-1648538205">Final configuration</H2><P><STRONG>Instance profile</STRONG></P><PRE>snc/enable = 1
snc/gssapi_lib = /usr/lib64/libgssapi_krb5.so
snc/identity/as = p:<host>$@<REALM>
snc/data_protection/min = 2
snc/data_protection/max = 3
snc/data_protection/use = 3</PRE><P><STRONG>Profile of the <sid>adm user</STRONG></P><PRE>export LD_PRELOAD=/lib64/libgssapi_krb5.so.2:/lib64/libkrb5.so.3:/lib64/libk5crypto.so.3:/lib64/libkrb5support.so.0
export KRB5CCNAME=FILE:/tmp/krb5cc_<SID></PRE><P><STRONG>Crontab of <sid>adm</STRONG> (example)</P><PRE>*/5 * * * * KRB5CCNAME=FILE:/tmp/krb5cc_<SID> /usr/bin/kinit -k -t /etc/krb5.keytab '<host>$'</PRE><P><STRONG>Start sequence</STRONG></P><PRE>kdestroy
kinit -k -t /etc/krb5.keytab '<host>$'
klist
stopsap all
lsnrctl start
startsap all</PRE><H2 id="toc-hId-1452024700">Checklist after every restart or OS patch</H2><OL><LI>As <sid>adm, <STRONG><FONT color="#0a6ed1">echo $LD_PRELOAD</FONT></STRONG> and <STRONG><FONT color="#0a6ed1">echo $KRB5CCNAME</FONT></STRONG> both show the values above.</LI><LI>The four preloaded files still exist under /lib64 with the same names.</LI><LI><STRONG><FONT color="#0a6ed1">klist</FONT></STRONG> shows a valid krbtgt ticket in the file cache, not expired.</LI><LI><STRONG><FONT color="#0a6ed1">crontab -l</FONT></STRONG> still has the renewal job.</LI><LI>The latest dev_w trace shows "dynamically loaded as GSS-API v2 library", "Accepting Cred ... ok", and no "Initiating Credentials not available".</LI><LI>All work processes are running in SM50, and an SNC logon from SAP GUI works.</LI></OL><H2 id="toc-hId-1255511195">Error, cause, fix</H2><P>What you see Most likely cause What to do</P><TABLE border="1"><TBODY><TR><TD><STRONG>What you see</STRONG></TD><TD><STRONG>Most likely cause</STRONG></TD><TD><STRONG>What to do</STRONG></TD></TR><TR><TD>dlopen FAILED, No such file or directory, SNCERR_INIT</TD><TD>snc/gssapi_lib points to a library that does not exist (for example an old Quest path)</TD><TD>Point it to /usr/lib64/libgssapi_krb5.so</TD></TR><TR><TD>SIGABRT, stack shows krb5int functions inside libclntsh.so</TD><TD>Oracle client's copy of Kerberos is called instead of MIT Kerberos</TD><TD>Set LD_PRELOAD as above, full restart (<A href="https://community.sap.com/t5/technology-blog-posts-by-members/snc-with-kerberos-after-migration-part-2-oracle-19c-the-dynamic-linker-and/ba-p/14498424" target="_blank">Part 2</A>)</TD></TR><TR><TD>Accepting ok, Initiating Credentials not available</TD><TD>No valid ticket in the cache SAP reads</TD><TD>Check KRB5CCNAME, kinit with the keytab, check cron (<A href="https://community.sap.com/t5/technology-blog-posts-by-members/snc-with-kerberos-after-migration-part-4-quot-initiating-credentials-not/ba-p/14503215" target="_blank">Part 4</A>)</TD></TR><TR><TD>kinit: Client not found in Kerberos database</TD><TD>Wrong principal name, or the computer account was reset in AD</TD><TD>Use <host>$, check the keytab with klist -k</TD></TR><TR><TD>kinit: Permission denied on the keytab</TD><TD><sid>adm cannot read /etc/krb5.keytab</TD><TD>Adjust permissions or use a copy readable by <sid>adm</TD></TR><TR><TD>kinit: Clock skew too great</TD><TD>Server time differs from the domain controller</TD><TD>Fix time sync (chrony or NTP)</TD></TR><TR><TD>SAP starts, but SSO logon fails</TD><TD>SNC name in SAP Logon differs from snc/identity/as, or no SNC name in SU01</TD><TD>Align the names, maintain the SNC tab in SU01</TD></TR></TBODY></TABLE><H2 id="toc-hId-1058997690">Three things I would tell my past self</H2><UL><LI>After a migration, check every library path in the SNC parameters before anything else.</LI><LI>If Kerberos functions show up inside the Oracle client in a crash stack, it is a library clash, not an SNC setting.</LI><LI>A keytab is not a ticket. SAP needs both, and the ticket must be renewed.</LI></UL><H2 id="toc-hId-862484185">Conclusion</H2><P>That closes the series. One symptom, two problems, and two fixes that are each only a few lines long. Finding them took much longer than applying them, which is why I wrote it all down.</P><P>Thank you for following along. If this runbook saves you a few hours, or if you solved the same problem in a different way, tell me in the comments. Follow me here on SAP Community for the next series.</P>2026-10-19T09:33:53.399000+02:00https://community.sap.com/t5/technology-blog-posts-by-sap/configuring-ssl-encryption-between-sap-abap-application-servers-and-sap/ba-p/14506654Configuring SSL Encryption Between SAP ABAP Application Servers and SAP HANA2026-10-19T12:38:14.890000+02:00Paul_SAP_Software_Logisiticshttps://community.sap.com/t5/user/viewprofilepage/user-id/1554655<H3 id="toc-hId-1974139292">Introduction</H3><P>This blog documents the steps required to configure SSL/TLS encryption between SAP ABAP application servers and an SAP HANA database, using a certificate signed by an external Certificate Authority (CA). This is a common requirement in enterprise migrations and security hardening projects where the default SAP-generated certificates are replaced with organisation-specific ones.</P><P>The configuration covered here implements <STRONG>TLS</STRONG> — the HANA database server authenticates itself to the ABAP application layer. <CODE>sapcli.pse</CODE> on each ABAP node serves as the <STRONG>trust store</STRONG>, allowing the ABAP kernel to verify HANA's certificate during the TLS handshake. This guide assumes you are working on a Linux-based SAP system with SAP CommonCryptoLib installed.</P><H3 id="toc-hId-1777625787">Prerequisites</H3><UL><LI>Database certificate (<CODE>.pfx</CODE> format) signed by an external CA, plus the corresponding root certificate</LI><LI>Certificate password</LI><LI>Access to the HANA database server at OS level (<CODE>sidadm</CODE> or equivalent)</LI><LI>Access to all ABAP application server nodes at OS level</LI><LI>A valid HANA userstore key configured for <CODE>hdbsql</CODE> commands</LI><LI>Planned downtime or maintenance window — the ABAP application must be stopped during parts of this procedure</LI><LI>Existing <CODE>SAPSSLS.pse</CODE> backed up before making any changes</LI></UL><HR /><H3 id="toc-hId-1581112282">Overview</H3><P>The procedure creates two sets of PSE (Personal Security Environment) files:</P><OL><LI><P><STRONG><CODE>SAPSSLS.pse</CODE> on the HANA server</STRONG> — the HANA database server's SSL identity, built from the externally signed certificate. This is what HANA presents to the ABAP layer during the TLS handshake.</P></LI><LI><P><STRONG><CODE>sapcli.pse</CODE> and <CODE>sapsrv.pse</CODE> on each ABAP application server</STRONG> — these are placed in the <CODE>sec</CODE> directory of each ABAP node. They act as the <STRONG>trust store</STRONG> on the ABAP side, containing the CA certificate chain that the ABAP kernel uses to verify HANA's certificate. The <CODE>sslKeyStore</CODE> reference in the profile parameter also points to <CODE>sapcli.pse</CODE>, but since <CODE>sslclientpki</CODE> is <CODE>off</CODE> on HANA, the client certificate is never requested.</P></LI></OL><HR /><H3 id="toc-hId-1384598777">Step 1 — Upload Certificates to the HANA Server</H3><OL><LI>Log on to the HANA database server at OS level as <CODE>sidadm</CODE></LI><LI>Upload the database certificate (<CODE>db_cert.pfx</CODE>), the root certificate (<CODE>root.cer</CODE>) <STRONG>(and any intermediate certificates)</STRONG> to the <CODE>sec</CODE> directory on the HANA server:</LI></OL><DIV><PRE><CODE>/usr/sap/<SID>/SYS/global/security/rsecssls/</CODE></PRE></DIV><BLOCKQUOTE><P><STRONG>Note:</STRONG> The exact <CODE>sec</CODE> directory path may vary. Confirm the location using the <CODE>SECUDIR</CODE> environment variable.</P></BLOCKQUOTE><OL><LI>Before making any changes, back up the existing <CODE>SAPSSLS.pse</CODE>:</LI></OL><DIV><PRE><CODE>cp SAPSSLS.pse SAPSSLS.pse.bak</CODE></PRE></DIV><HR /><H3 id="toc-hId-1188085272">Step 2 — Create SAPSSLS.pse on the HANA Server</H3><P>Run the following command to create a new <CODE>SAPSSLS.pse</CODE> from the externally signed certificate. This becomes the HANA server's SSL identity:</P><DIV><PRE><CODE>sapgenpse import_p12 -r root.cer -p SAPSSLS.pse <db_cert.pfx></CODE></PRE></DIV><UL><LI>Enter the certificate password when prompted</LI><LI>When asked for a PIN, you have the option to set one or leave it empty. <STRONG>From a security perspective, setting a PIN is recommended</STRONG> as it adds an additional layer of protection to the PSE file. If a PIN is set, ensure it is stored securely as it will be required for any future PSE operations</LI></UL><P><CODE>SAPSSLS.pse</CODE> should now be created successfully.</P><HR /><H3 id="toc-hId-991571767">Step 3 — Create the Client PSE Files for ABAP Application Servers</H3><P><CODE>sapcli.pse</CODE> and <CODE>sapsrv.pse</CODE> can be created directly from <CODE>SAPSSLS.pse</CODE>:</P><DIV><PRE><CODE>cp SAPSSLS.pse sapcli.pse
cp SAPSSLS.pse sapsrv.pse</CODE></PRE></DIV><P>Copy both files to the <CODE>sec</CODE> directory on <STRONG>every</STRONG> ABAP application server node (CS/CI and all additional application servers):</P><DIV><PRE><CODE>/usr/sap/<SID>/<instance_dir>/sec/</CODE></PRE></DIV><HR /><H3 id="toc-hId-795058262">Step 4 — Disable sslclientpki on HANA</H3><BLOCKQUOTE><P><STRONG>Important:</STRONG> Shut down the ABAP application layer <STRONG>before</STRONG> executing this step.</P></BLOCKQUOTE><P>This parameter controls whether HANA enforces client PKI certificate authentication. Setting it to <CODE>off</CODE> enables one-way TLS (server authentication only), which is the configuration used here.</P><P>Run the following <CODE>hdbsql</CODE> command from the HANA server:</P><DIV><PRE><CODE>hdbsql -U <USERSTORE_KEY> "ALTER SYSTEM ALTER CONFIGURATION ('global.ini', 'SYSTEM') SET ('communication', 'sslclientpki') = 'off' WITH RECONFIGURE;"</CODE></PRE></DIV><P>The <CODE>WITH RECONFIGURE</CODE> clause applies the change immediately without requiring a HANA restart.</P><BLOCKQUOTE><P><STRONG>PRD Systems:</STRONG> This parameter must also be disabled on the secondary/DR HANA node. This can be done via SAP HANA Studio — apply the change on both the primary and DR secondary database nodes.</P></BLOCKQUOTE><HR /><H3 id="toc-hId-598544757">Step 5 — Configure the ABAP Default Profile</H3><P>The <CODE>dbs/hdb/connect_property</CODE> parameter must be added to the <STRONG>ABAP default profile</STRONG> (<CODE>DEFAULT.PFL</CODE>) to instruct the ABAP kernel to use SSL when connecting to HANA. This parameter applies to all application server instances.</P><P>Add the following parameter (adapt values to your system):</P><DIV><PRE><CODE>dbs/hdb/connect_property = ENCRYPT=TRUE,sslCryptoProvider=commoncrypto,sslKeyStore=/usr/sap/<SID>/<instance_dir>/sec/sapcli.pse,sslTrustStore=/usr/sap/<SID>/<instance_dir>/sec/sapcli.pse,sslHostNameInCertificate=<hana_hostname>.<yourdomain.com></CODE></PRE></DIV><P>Key values to adapt:</P><UL><LI><CODE><SID></CODE> — your system ID</LI><LI><CODE><instance_dir></CODE> — the instance directory of each application server (e.g. <CODE>D00</CODE>, <CODE>D01</CODE>)</LI><LI><CODE><hana_hostname>.<yourdomain.com></CODE> — the fully qualified hostname as it appears in the HANA certificate's CN/SAN field</LI></UL><BLOCKQUOTE><P><STRONG>Note:</STRONG> The <CODE>sslHostNameInCertificate</CODE> value must match exactly what is embedded in the HANA server certificate, otherwise the SSL handshake will fail.</P></BLOCKQUOTE><HR /><H3 id="toc-hId-402031252">Step 6 — Restart the Application and Validate</H3><P>Start the ABAP application layer. Once all instances are up, perform the following validation steps.</P><P><STRONG>Validation 1 — Check encrypted connections via SQL</STRONG></P><P>Log on to the system and navigate to transaction <STRONG>DB02 → SQL Editor</STRONG>. Run the following statement, replacing <CODE><SCHEMA></CODE> with the correct database schema name:</P><DIV><PRE><CODE>SELECT IS_ENCRYPTED, SSL_VERSION, CLIENT_HOST
FROM SYS.M_CONNECTIONS
WHERE USER_NAME = '<SCHEMA>'
AND IS_ENCRYPTED = 'TRUE';</CODE></PRE></DIV><P>All active connections for the schema should return <CODE>TRUE</CODE> in the <CODE>IS_ENCRYPTED</CODE> column. If any sessions return <CODE>FALSE</CODE>, review the profile parameter and PSE file placement.</P><P><STRONG>Validation 2 — R3trans connectivity check</STRONG></P><P>Run the following from the OS level on each application server to confirm no transport-layer issues:</P><DIV><PRE><CODE>R3trans -d</CODE></PRE></DIV><P>Review the trans.log output — a clean run with no errors confirms successful connectivity between the ABAP application layer and HANA over SSL.</P><HR /><H3 id="toc-hId-205517747">Summary</H3><P>At this point, SSL encryption between the SAP ABAP application servers and SAP HANA is active using an externally signed CA certificate. The HANA server authenticates to the application layer via <CODE>SAPSSLS.pse</CODE>, while each ABAP node uses <CODE>sapcli.pse</CODE> and <CODE>sapsrv.pse</CODE> as its trust store for verifying HANA's identity.</P><HR /><P><EM>This guide was produced by the IT Planning and Software Logistics team, SAP Ireland, based on field experience from enterprise RISE migration projects.</EM></P>2026-10-19T12:38:14.890000+02:00https://community.sap.com/t5/technology-blog-posts-by-sap/understanding-the-shared-responsibility-model-on-sap-btp-who-owns-what/ba-p/14506648Understanding the Shared Responsibility Model on SAP BTP: Who Owns What?2026-10-19T12:48:43.855000+02:00AnisaTuscanohttps://community.sap.com/t5/user/viewprofilepage/user-id/2003264<P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shared Responsibility model.jpg" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/470574iDBA3AC34E66CE9B9/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="Shared Responsibility model.jpg" alt="Shared Responsibility model.jpg" /></span></P><P>When you move workloads to SAP Business Technology Platform (BTP), one of the first governance questions you need to answer is deceptively simple: <EM>who is responsible for what?</EM></P><P>It's a question that often goes unanswered until something goes wrong - a security incident, a compliance gap, an outage that exposes unclear ownership. The SAP BTP Admin Guide addresses this head-on with a clearly defined <STRONG>Shared Responsibility Model</STRONG> and understanding it is foundational to operating on the platform safely and effectively.</P><H3 id="toc-hId-1974139265"><STRONG>It's Not a Two-Party Model - It's Three</STRONG></H3><P>Most teams think of shared responsibility as a binary: SAP handles the platform; we handle our apps. But SAP BTP involves three distinct parties:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SRM.png" style="width: 455px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/470573i752CF3E75A32F332/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="SRM.png" alt="SRM.png" /></span></P><H3 id="toc-hId-1777625760"> </H3><H3 id="toc-hId-1581112255"><STRONG>What SAP Is Responsible For</STRONG></H3><P>As the service provider, SAP is responsible for the following areas:</P><UL><LI><STRONG>Global Accounts and Entitlements Provisioning</STRONG></LI></UL><P>SAP creates your global account and assigns the necessary entitlements so you can start using SAP BTP. During this provisioning process, SAP grants initial global account administrator rights to your designated administrator.</P><UL><LI><STRONG>Runtimes and Services Management</STRONG></LI></UL><P>SAP manages and operates the core BTP services and runtimes - including Cloud Foundry, SAP Integration Suite, and SAP Build - and keeps them updated and secure. Depending on the runtime you use, you share responsibility differently: Kyma gives you full cluster access except the SAP-managed Kyma-system namespace, while the ABAP environment lets you manage select aspects via the Landscape Portal.</P><H3 id="toc-hId-1384598750"> </H3><H3 id="toc-hId-1188085245"><STRONG>What You Are Responsible For</STRONG></H3><P>As an SAP BTP customer, you’re responsible for the following areas:</P><UL><LI><STRONG>Change Management and Operations</STRONG></LI></UL><P>You establish and run effective change management processes for your applications and integrations. If you use open-source software, you must keep it updated and include vulnerability scanning in your development process.</P><UL><LI><STRONG>Customer Data and Content</STRONG></LI></UL><P>You are responsible for your data and content, which includes ensuring data privacy.</P><UL><LI><STRONG>Application Development and Integration</STRONG></LI></UL><P>You develop and operate your applications on SAP BTP. This includes creating, deploying, and integrating them with other systems.</P><UL><LI><STRONG>Account and Environment Management</STRONG></LI></UL><P>You manage your account structure, which includes organizing directories, subaccounts, and service instances. You define an account strategy based on your organization's requirements, create and configure subaccounts for your development projects, and allocate resources and services as needed.</P><UL><LI><STRONG>Authorization and Identity Management</STRONG></LI></UL><P>You manage users and assign authorizations according to your organizational and project needs. To meet these needs, use the authorization and identity management tools that SAP provides.</P><H3 id="toc-hId-991571740"> </H3><H3 id="toc-hId-795058235"><STRONG>The Shared Zones: Where Collaboration Is Essential</STRONG></H3><P>You and SAP share responsibility for the following key areas:</P><UL><LI><STRONG>Observability</STRONG></LI></UL><P>SAP handles platform-level monitoring for all BTP services - covering health checks, troubleshooting, housekeeping, and incident management. As a customer, you're expected to leverage BTP's built-in monitoring tools, add your own checks where needed, and manage housekeeping for your own components. If an issue falls under SAP's responsibility, raise an incident through the standard SAP support process.</P><UL><LI><STRONG>Security and Compliance</STRONG></LI></UL><P>SAP treats security and compliance as a core priority on BTP. They adhere to strict industry standards across cybersecurity, operations, and privacy, and manage risks through comprehensive programs that cover cloud environments, physical facilities, events, and employees - ensuring your data is protected and regulatory requirements are met.</P><UL><LI><STRONG>High Availability and Disaster Recovery</STRONG></LI></UL><P>SAP guarantees high availability (HA) and disaster recovery (DR) for all SAP-managed BTP services through strict Service Level Agreements (SLAs), regular backups, and built-in disaster recovery mechanisms. However, customers also carry responsibility -particularly when deploying custom applications and extensions. This includes running a minimum of three instances where applicable and configuring SAP HANA Cloud with replicas to ensure resilience and for the overall HA/DR setup to work as intended.</P><P> </P><H3 id="toc-hId-598544730"><STRONG>Infrastructure Provider's Responsibilities</STRONG></H3><P>The infrastructure level is managed by either SAP or a hyperscaler, with SAP overseeing the relationship with hyperscalers. Even when using hyperscaler regions, SAP is responsible for managing this relationship. As a customer using SAP BTP, you don't have to interact directly with the hyperscalers.</P><P>The infrastructure providers operate the physical data centers that host SAP BTP regions. Their responsibilities include:</P><UL><LI>Set up and maintain the data centers, including servers, networking, and power supply.</LI><LI>Ensure physical and digital security to prevent unauthorized access.</LI><LI>Meet industry-grade standards for reliability and compliance.</LI><LI>Manage infrastructure operations, including software updates and patches.</LI></UL><P> </P><H3 id="toc-hId-402031225"><STRONG>Why This Model Matters in Practice</STRONG></H3><P>For Enterprise Architects and BTP administrators, the shared responsibility model is not just a governance document - it is an operational checklist. It drives decisions about:</P><UL><LI><STRONG>Team structure</STRONG>: Who in your organization owns account governance? Who owns application security? Are those roles clearly defined and staffed?</LI><LI><STRONG>Security controls</STRONG>: Are you applying SAP's security recommendations at the application and identity layer, or assuming the platform handles it all?</LI><LI><STRONG>Compliance posture</STRONG>: Regulators will ask what <EM>you</EM> did to protect data - "SAP is responsible for the platform" will not cover application-layer gaps</LI><LI><STRONG>Incident readiness</STRONG>: When something goes wrong, do you have the audit logs, monitoring, and runbooks to respond within your scope - or will you be scrambling to understand what you own?</LI></UL><P> </P><H3 id="toc-hId-205517720"><STRONG><span class="lia-unicode-emoji" title=":notebook_with_decorative_cover:">📔</span>Further Reading:</STRONG></H3><UL><LI><A href="https://help.sap.com/docs/btp/btp-admin-guide/shared-responsibility-model-between-you-and-sap" target="_blank" rel="noopener noreferrer">Shared Responsibility Model Between You and SAP — SAP BTP Admin Guide</A></LI><LI><A href="https://www.sap.com/about/trust-center.html" target="_blank" rel="noopener noreferrer">SAP Trust Center</A></LI><LI><A href="https://help.sap.com/docs/btp/btp-admin-guide/e3ac4f7c25a3442ca585950095eec599.html?locale=en-US&state=PRODUCTION&version=Cloud#loioe3ac4f7c25a3442ca585950095eec599" target="_blank" rel="noopener noreferrer">Resilience, High Availability, and Disaster Recovery</A></LI></UL><P> </P><P>SAP's Customer Quality Check (CQC) services - the Security Optimization Service (SOS) and Transport Execution Analysis (TEA) - give customers a structured, expert-led way to fulfil their side of the shared responsibility model on SAP BTP. SOS surfaces misconfigured security settings across your BTP landscape with prioritized, actionable recommendations, while TEA identifies risks in how changes move through your environment. Together, they turn the abstract concept of shared responsibility into something measurable and manageable - available to customers on SAP Enterprise Support or Mission Critical Support.</P><UL><LI>SAP Community blog: <A href="https://community.sap.com/t5/technology-blog-posts-by-sap/introducing-self-service-booking-for-public-cloud-continuous-quality-checks/ba-p/14498795" target="_blank">Introducing Self-Service Booking in SAP for Me</A></LI><LI>Watch <A href="https://sapvideo.cfapps.eu10-004.hana.ondemand.com/?entry_id=1_6lzzh26y" target="_blank" rel="noopener nofollow noreferrer">this </A><A href="https://sapvideo.cfapps.eu10-004.hana.ondemand.com/?entry_id=1_6lzzh26y" target="_blank" rel="noopener nofollow noreferrer">short overview video</A></LI><LI>Explore the <A href="https://support.sap.com/content/s4m/help/support/faq.html" target="_blank" rel="noopener noreferrer">Services & Support FAQs</A></LI><LI>SAP Support Portal <A href="https://support.sap.com/en/offerings-programs/enterprise-support/enterprise-support-academy/continuous-quality-check-improvement-services.html?isu_page=1" target="_blank" rel="noopener noreferrer">Continuous Quality Check & Improvement Services</A></LI></UL><P> </P><H3 id="toc-hId--66227154"><STRONG><span class="lia-unicode-emoji" title=":link:">🔗</span>Stay connected </STRONG></H3><P>Want to stay up to date on our services? Join our <A href="https://community.sap.com/t5/sap-cloud-alm-cross-solution-topics-value-map/gh-p/alm-cross-vm" target="_blank">SAP Cloud ALM & Cross-Solution Topics</A> community! </P><P><span class="lia-unicode-emoji" title=":bell:">🔔</span>Stay tuned for my upcoming blogs based on Operating Model, SAP BTP Security Recommendations.</P>2026-10-19T12:48:43.855000+02:00https://community.sap.com/t5/technology-blog-posts-by-sap/security-sessions-at-sap-teched-berlin-2026/ba-p/14507382Security Sessions at SAP TechEd Berlin 20262026-10-20T14:04:33.179000+02:00RegineSchimmerhttps://community.sap.com/t5/user/viewprofilepage/user-id/8286<P>If you're planning to attend SAP TechEd Berlin (and if you're not planning on going yet, you might want to reconsider after reading this blog!), and you're interested in SAP BTP / SAP BAIP security and identity & access management, this blog is for you. </P><P>Make sure you add these sessions to your agenda, and visit our booth to chat with us - I look forward to seeing you next week!</P><DIV class=""><DIV class=""><DIV class=""><DIV class=""><P>Security content is bundled under the umbrella of <A href="https://www.sap.com/events/teched/berlin/flow/sap/te26/catalog/page/catalog?tab.sessionplanned=1692641568884001cZ9d&search.track=1785364345174003phWs" target="_self" rel="noopener noreferrer">Build Trust in SAP with Security, Compliance, and Identity Management</A>. Let me highlight a few sessions. <BR /> <BR />First up, let's take a look at our strategy and roadmap sessions. <BR /><A href="https://www.sap.com/events/teched/berlin/flow/sap/te26/catalog/page/catalog/session/1786638684898001sEn7" target="_self" rel="noopener noreferrer">ST131 | Secure, compliant, and trusted AI solutions with SAP Business AI Platform</A> demonstrates how SAP Business AI Platform helps organizations protect applications, manage identities, and meet regulatory requirements. You'll learn how integrated security, identity, compliance services, and platform capabilities enable resilient, trusted, and compliant solutions. </P><P><A href="https://www.sap.com/events/teched/berlin/flow/sap/te26/catalog/page/catalog/session/1786638056659001kD9f" target="_self" rel="noopener noreferrer">XP822 | Road map: SAP Business AI Platform security and SAP Cloud Identity Services</A> explores the latest features and functions for SAP Business AI Platform security and compliance services, including SAP Cloud Identity Services and SAP Key Management Service. </P><P>The deep dive <A href="https://www.sap.com/events/teched/berlin/flow/sap/te26/catalog/page/catalog/session/1786632565262001KJNp" target="_self" rel="noopener noreferrer">XP100 | Evolving the identity lifecycle for an AI-first future</A> explains how SAP Cloud Identity Services provide the foundation for secure authentication, identity lifecycle management, and smooth access across SAP landscapes. You'll learn how agent identity concepts and SAP-managed identity and access management scenarios simplify secure communication, reduce operational complexity, and strengthen enterprise security.</P><P><A href="https://www.sap.com/events/teched/berlin/flow/sap/te26/catalog/page/catalog/session/1786633493889001q4vM" target="_self" rel="noopener noreferrer">XP104 | Future-ready access governance from SAP: Strategy and innovation</A> explores the strategy and road map for the SAP Access Control application and SAP Cloud Identity Access Governance solutions. Learn how AI-enabled governance, hybrid deployment options, and modern identity services help secure SAP landscapes, simplify compliance, and prepare organizations for future access governance challenges.</P><P>Our hands-on session <A href="https://www.sap.com/events/teched/berlin/flow/sap/te26/catalog/page/catalog/session/1786630013489001Nv9u" target="_self" rel="noopener noreferrer">XP263 | Identity lifecycle and governance with SAP services and Microsoft Entra</A> will explain how SAP Cloud Identity Services, the SAP Cloud Identity Access Governance service, and Microsoft Entra work together to unify user lifecycle management across SAP and third-party applications. </P><P>A total of 41 sessions are tagged with the keyword "<A href="https://www.sap.com/events/teched/berlin/flow/sap/te26/catalog/page/catalog?tab.sessionplanned=1692641568884001cZ9d&search=security" target="_self" rel="noopener noreferrer">security</A>" - the biggest challenge might just be that you can't attend all of them!</P></DIV></DIV></DIV></DIV>2026-10-20T14:04:33.179000+02:00https://community.sap.com/t5/technology-blog-posts-by-sap/stop-clicking-start-scripting-automate-btp-role-collection-mapping-to-ias/ba-p/14507356Stop Clicking, Start Scripting: Automate BTP Role Collection Mapping to IAS Groups via REST APIs2026-10-20T14:56:15.343000+02:00LucaThttps://community.sap.com/t5/user/viewprofilepage/user-id/1542228<H1 id="toc-hId-1716000764">Introduction</H1><P>Picture this: a customer is going live with a new SAP BTP landscape. Their IAS tenant already has user groups set up, their role collections are defined, and all that's left is connecting the two. Simple enough: in the BTP cockpit, navigate to Security → Trust Configuration → your IAS trust → Role Collection Mappings, and add one mapping at a time.</P><P>Now imagine doing that hundreds of times.</P><P>That was the reality for one of my customers. 130 role collections, each needing to be mapped to its corresponding IAS user group. At a conservative 3-4 minutes per mapping, finding the right collection, typing the group name exactly right, saving, repeat. You're looking at close to 8 hours of repetitive, error-prone cockpit work.</P><P>As a BTP consultant, I've seen this scenario play out more than once. And every time, the frustration is the same: the platform has everything you need, yet you're stuck doing something a machine should be doing for you.</P><P>In this blog post, you will learn how to use the SAP Authorization and Trust Management Service REST API to map BTP role collections to IAS user groups programmatically, saving hours of manual work, eliminating typo-induced errors, and giving you a reusable script you can run across every environment in your landscape.</P><H2 id="toc-hId-1648569978">Prerequisites</H2><P>Before you begin, make sure you have the following in place:</P><UL><LI>Subaccount Administrator role collection assigned to your user in the target BTP subaccount</LI><LI>A BTP subaccount with an IAS tenant configured as a custom identity provider</LI><LI>IAS user groups already created and populated with users</LI><LI>BTP CLI installed and configured</LI><LI>A REST client for testing: curl, Postman, or Bruno all work fine</LI><LI>Node.js (v18+) for the automation script (if you're creating a Node.js script like me)</LI></UL><P> </P><H1 id="toc-hId-1322973754">Let's get scripting</H1><H2 id="toc-hId-1255542968">Step 1 — Get API Credentials via the BTP CLI</H2><P>To call the XSUAA REST API, you need a client credential pair. The cleanest way to get one is directly through the BTP CLI. No service instance or service key required.</P><pre class="lia-code-sample language-bash"><code>btp login --sso
btp target --subaccount <SUBACCOUNT_ID>
btp create security/api-credential --name my-credential</code></pre><P><STRONG>Note</STRONG><EM>:</EM> This is the current recommended approach, replacing the deprecated apiaccess XSUAA service plan. If you come across older tutorials using "cf create-service xsuaa apiaccess" that approach still works but is being phased out.</P><P>The command returns a JSON object. Save these four values, you'll need all of them:</P><UL><LI>clientid</LI><LI>clientsecret</LI><LI>url (the token endpoint)</LI><LI>apiurl (the API base URL)</LI></UL><H2 id="toc-hId-1059029463">Step 2 — Get a Bearer Token</H2><P>With the credentials in hand, request an OAuth token using the client credentials flow:</P><pre class="lia-code-sample language-bash"><code>curl --request POST \
--url <url> \
--header 'accept: application/json' \
--header 'content-type: application/x-www-form-urlencoded' \
--data 'client_id=<clientid>' \
--data 'client_secret=<clientsecret>' \
--data 'grant_type=client_credentials' \
--data 'response_type=token'</code></pre><P>Copy the <FONT face="courier new,courier">access_token</FONT> value from the response. You'll use it as a Bearer token in the next steps.</P><H2 id="toc-hId-862515958">Step 3 — Check Existing Mappings (Optional but Recommended)</H2><P>Before writing anything, it's worth checking what mappings already exist for your IAS identity provider. This gives you a baseline and avoids surprises:</P><pre class="lia-code-sample language-bash"><code>curl --request GET \
--url <apiurl>/sap/rest/authorization/v2/identity-providers/<IAS_ORIGIN_KEY>/attributes \
--header 'accept: application/json' \
--header 'authorization: Bearer <access_token>'</code></pre><P><STRONG>Where to find the IAS Origin Key</STRONG>: In your BTP subaccount, go to Security → Trust Configuration and click on your IAS trust entry. The Origin Key is shown in the detail panel. It typically looks like <EM><something>.accounts.ondemand.com</EM>.</P><H2 id="toc-hId-666002453">Step 4 — Create a Single Mapping</H2><P>Now for the actual mapping call. Let's do one manually first to confirm everything works before running a bulk script:</P><pre class="lia-code-sample language-bash"><code>curl --request POST \
--url <apiurl>/sap/rest/authorization/v2/identity-providers/<IAS_ORIGIN_KEY>/attributes \
--header 'accept: application/json' \
--header 'authorization: Bearer <access_token>' \
--header 'content-type: application/json' \
--data '{
"attributeName": "Groups",
"attributeValue": "<IAS_Group_Name>",
"operator": "equals",
"roleCollectionName": "<BTP_Role_Collection_Name>"
}'</code></pre><P>A few things to pay attention to:</P><UL><LI><FONT face="courier new,courier">attributeName</FONT> must be exactly "Groups" with capital G, case-sensitive. This is the single most common mistake, and it fails without a helpful error message, so double-check this first.</LI><LI><FONT face="courier new,courier">attributeValue</FONT> is the IAS group name, not the group ID.</LI><LI><FONT face="courier new,courier">roleCollectionName</FONT> must match the role collection name exactly as it appears in the BTP cockpit.</LI></UL><P>A successful call returns HTTP 201 with the created mapping. To verify: go to BTP Cockpit → Security → Role Collections → open your role collection → User Groups tab. Your IAS group should now appear there.</P><H2 id="toc-hId-469488948">Step 5 — Scale It Up: Automate with a Node.js Script</H2><P>One mapping confirmed, now let's do all 130. The script below reads a list of mappings from a JSON file, fetches a token, and loops through each entry.</P><P>Project structure:</P><UL><LI>mappings.json – your list of group → role collection pairs</LI><LI>map-roles.mjs – the script</LI><LI>.env – credentials (never commit or publish this!)</LI></UL><P><STRONG>.env</STRONG></P><pre class="lia-code-sample language-bash"><code>TOKEN_URL=https://<subdomain>.authentication.<region>.hana.ondemand.com/oauth/token
CLIENT_ID=<your-client-id>
CLIENT_SECRET=<your-client-secret>
API_URL=https://api.authentication.<region>.hana.ondemand.com
IAS_ORIGIN_KEY=<your-ias-origin-key></code></pre><P><STRONG>mappings.json</STRONG></P><pre class="lia-code-sample language-json"><code>[
{
"iasGroup": "BTP_ADMINS",
"roleCollection": "Subaccount Administrator"
},
{
"iasGroup": "BTP_DEVELOPERS",
"roleCollection": "Extension Developer"
},
{
"iasGroup": "CPI_OPERATORS",
"roleCollection": "PI Business Expert"
}
]</code></pre><P><STRONG>map-roles.mjs</STRONG></P><pre class="lia-code-sample language-javascript"><code>import { readFileSync } from 'fs';
import 'dotenv/config';
const { TOKEN_URL, CLIENT_ID, CLIENT_SECRET, API_URL, IAS_ORIGIN_KEY } = process.env;
async function getToken() {
const params = new URLSearchParams({
grant_type: 'client_credentials',
response_type: 'token',
client_id: CLIENT_ID,
client_secret: CLIENT_SECRET
});
const res = await fetch(TOKEN_URL, {
method: 'POST',
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
body: params
});
const { access_token } = await res.json();
return access_token;
}
async function mapRoleCollection(token, iasGroup, roleCollection) {
const url = `${API_URL}/sap/rest/authorization/v2/identity-providers/${IAS_ORIGIN_KEY}/attributes`;
const res = await fetch(url, {
method: 'POST',
headers: {
Authorization: `Bearer ${token}`,
'Content-Type': 'application/json',
Accept: 'application/json'
},
body: JSON.stringify({
attributeName: 'Groups',
attributeValue: iasGroup,
operator: 'equals',
roleCollectionName: roleCollection
})
});
if (res.status === 409) {
console.log(`Already mapped: "${iasGroup}" → "${roleCollection}"`);
return;
}
if (res.status === 404) {
console.error(`Not found (check name): "${iasGroup}" → "${roleCollection}"`);
return;
}
if (!res.ok) {
console.error(`Failed (${res.status}): "${iasGroup}" → "${roleCollection}"`);
return;
}
console.log(`Mapped: "${iasGroup}" → "${roleCollection}"`);
}
const mappings = JSON.parse(readFileSync('./mappings.json', 'utf-8'));
const token = await getToken();
for (const { iasGroup, roleCollection } of mappings) {
await mapRoleCollection(token, iasGroup, roleCollection);
}</code></pre><P>Install the one dependency and run:</P><pre class="lia-code-sample language-bash"><code>npm install dotenv
node map-roles.mjs</code></pre><P>You'll see a clear log for every mapping: success, already exists, or failure with the exact entry so you can investigate.</P><H2 id="toc-hId-272975443">Bonus: Multi-Environment Reuse</H2><P>Once your mappings.json is ready, deploying to multiple environments is trivial. Re-target the BTP CLI and generate a fresh set of credentials for each subaccount:</P><pre class="lia-code-sample language-bash"><code>btp target --subaccount <DEV_ID>
btp create security/api-credential --name my-credential
# update .env, then:
node map-roles.mjs
# next subaccount
btp target --subaccount <QA_ID>
btp create security/api-credential --name my-credential
# update .env, then:
node map-roles.mjs
# and so on ...</code></pre><P>What was an 8-hour cockpit exercise becomes a 2-minute operation per environment. Repeatable, consistent, and auditable.</P><P> </P><H1 id="toc-hId--52620781">Conclusion</H1><P>The SAP Authorization and Trust Management Service API is one of those tools that, once you know it's there, you'll reach for regularly. The manual cockpit approach is fine for a handful of mappings, but as soon as you're dealing with real-world project complexity with dozens of role collections, multiple environments, repeated deployments, it simply doesn't scale.</P><P>The setup described in this post takes maybe 30 minutes the first time: prepare your mappings.json, configure the .env, run one test call to validate. After that, it's just a matter of running the script. For the customer that inspired this post, what would have been a full day of clicking was done before lunch.</P><P>If you give this a try, I'd love to hear how it works for you especially if you adapt the script or extend it to cover other security artifacts. Drop a comment below or reach out directly.</P><H1 id="toc-hId-520605797">Further Resources</H1><UL><LI>Download SAP BTP CLI – <A href="https://tools.hana.ondemand.com/#cloud" target="_blank" rel="noopener nofollow noreferrer">https://tools.hana.ondemand.com/#cloud</A></LI><LI>BTP CLI Documentation – <A href="https://help.sap.com/docs/btp/sap-business-technology-platform/account-administration-using-sap-btp-command-line-interface-btp-cli" target="_blank" rel="noopener noreferrer">https://help.sap.com/docs/btp/sap-business-technology-platform/account-administration-using-sap-btp-command-line-interface-btp-cli</A></LI><LI>btp create security/api-credential – <A href="https://help.sap.com/docs/btp/btp-cli-command-reference/btp-create-security-api-credential" target="_blank" rel="noopener noreferrer">https://help.sap.com/docs/btp/btp-cli-command-reference/btp-create-security-api-credential</A></LI><LI>SAP Business Accelerator Hub – Authorization API – <A href="https://api.sap.com/api/AuthorizationAPI/resource/Role_collections" target="_blank" rel="noopener noreferrer">https://api.sap.com/api/AuthorizationAPI/resource/Role_collections</A></LI><LI>Accessing Administration APIs of SAP Authorization and Trust Management Service – <A href="https://help.sap.com/docs/btp/sap-business-technology-platform/accessing-administration-using-apis-of-sap-authorization-and-trust-management-service" target="_blank" rel="noopener noreferrer">https://help.sap.com/docs/btp/sap-business-technology-platform/accessing-administration-using-apis-of-sap-authorization-and-trust-management-service</A></LI><LI>Map Role Collections to User Groups – SAP Help – <A href="https://help.sap.com/docs/btp/sap-business-technology-platform/map-role-collections-to-user-groups" target="_blank" rel="noopener noreferrer">https://help.sap.com/docs/btp/sap-business-technology-platform/map-role-collections-to-user-groups</A></LI></UL>2026-10-20T14:56:15.343000+02:00https://community.sap.com/t5/crm-and-cx-blog-posts-by-sap/sap-sales-amp-service-cloud-v2-setting-up-principal-propagation-with/ba-p/14508239SAP Sales & Service Cloud V2:Setting Up Principal Propagation with OAuth2SAMLBearer Authentication2026-10-21T13:05:46.848000+02:00Yoganandahttps://community.sap.com/t5/user/viewprofilepage/user-id/75<TABLE border="1" width="100%"><TBODY><TR><TD width="100%" height="23px"><DIV><EM>This is my <FONT color="#339966"><STRONG>350th blog post,</STRONG></FONT> and I'm excited to continue sharing insights, experiences, and lessons learned with the community.</EM></DIV></TD></TR></TBODY></TABLE><H2 id="toc-hId-1845112254">Introduction</H2><P>When integrating SAP BTP services with <STRONG>SAP Sales Cloud Version 2</STRONG> or <STRONG>SAP Service Cloud Version 2 or ESM</STRONG>, one of the most common requirements is ensuring that the <STRONG>identity of the logged-in user</STRONG> flows seamlessly from the source BTP application into the target SAP Cloud system. This is known as <STRONG>Principal Propagation</STRONG>.</P><P>Without principal propagation, every API call would authenticate as a technical/service user — losing all user context, audit trails, and authorization logic that depends on who is actually logged in. With it, the end user's identity is securely carried through, enabling fine-grained access control and meaningful audit logs on the SAP Sales/Service Cloud side.</P><P>This blog walks you through the complete setup using the <STRONG>OAuth2 SAML Bearer Assertion Flow</STRONG> — the recommended approach for BTP-to-SAP Sales & Service Cloud V2 connectivity.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2026-10-21_13-23-01 (1).gif" style="width: 928px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/471435i6EB7D5D778BCE894/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="2026-10-21_13-23-01 (1).gif" alt="2026-10-21_13-23-01 (1).gif" /></span></P><HR /><H2 id="toc-hId-1648598749">How It Works — The Big Picture</H2><DIV><PRE><CODE>User (logged into BTP app)
│
▼
BTP Destination (OAuth2SAMLBearerAssertion)
│ ── Generates a SAML assertion carrying the user's identity
▼
SAP Sales/Service Cloud V2 Token Service
│ ── Validates the assertion against the trusted certificate
▼
Returns an OAuth2 Access Token (scoped to that user)
│
▼
API Call executed as the propagated user</CODE></PRE>The trust between BTP and SAP Sales/Service Cloud V2 is established by registering BTP's <STRONG>X.509 certificate</STRONG> as a trusted issuer inside the SAP Sales/Service Cloud V2 tenant.</DIV><H2 id="toc-hId-1452085244">Prerequisites</H2><UL><LI>Access to your <STRONG>SAP BTP Cockpit</STRONG> (subaccount level)</LI><LI>Admin access to your <STRONG>SAP Sales Cloud V2 / Service Cloud V2 tenant</STRONG></LI><LI>Ability to call REST APIs on the tenant (e.g., via Postman, Bruno, or curl)</LI></UL><HR /><H2 id="toc-hId-1255571739">Step 1: Download the BTP Trust Certificate</H2><OL><LI>Log in to the <STRONG>SAP BTP Cockpit</STRONG> and navigate to your subaccount.</LI><LI>Go to <STRONG>Connectivity → Destinations → Download Trust</STRONG> (top-right area of the Destinations page).</LI><LI>A <CODE>.pem</CODE> certificate file will be downloaded.</LI><LI>Open the file and <STRONG>copy only the certificate content</STRONG> — the block between (but not including) the header and footer lines:</LI></OL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yogananda_0-1792580055529.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/471416i35138A113F676959/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="Yogananda_0-1792580055529.png" alt="Yogananda_0-1792580055529.png" /></span></P><DIV><PRE><CODE>-----BEGIN CERTIFICATE-----
MIIEXzCCA0... ← copy everything between these lines
-----END CERTIFICATE-----</CODE></PRE></DIV><BLOCKQUOTE><P>Keep this certificate value handy — you'll need it in the next step.</P></BLOCKQUOTE><HR /><H2 id="toc-hId-1059058234">Step 2: Configure Inbound OAuth2 Trust in SAP Sales/Service Cloud V2</H2><P>SAP Sales/Service Cloud V2 needs to know about BTP as a trusted SAML assertion issuer. This is done via a dedicated IAM Service REST API on your tenant.</P><BLOCKQUOTE><P><STRONG>Important restriction:</STRONG> Only <STRONG>one</STRONG> OAuth2 SAML Bearer Inbound Configuration can exist per tenant.</P></BLOCKQUOTE><H3 id="toc-hId-991627448">2a. Check if a Configuration Already Exists</H3><P>Send a <CODE>GET</CODE> request to check the current state:</P><DIV><PRE><CODE>GET <Your-Tenant-Host-URL>/sap/c4c/api/v1/iam-service/oauth2InboundConfiguration</CODE></PRE></DIV><UL><LI><STRONG>If a configuration exists with the same BTP certificate</STRONG> → you can reuse it as-is.</LI><LI><STRONG>If a configuration exists with a different certificate</STRONG> → update it (Step 2b).</LI><LI><STRONG>If no configuration exists</STRONG> → create a new one (Step 2c).</LI></UL><HR /><H3 id="toc-hId-795113943">2b. Update an Existing Configuration (PUT)</H3><DIV><PRE><CODE>PUT <Your-Tenant-Host-URL>/sap/c4c/api/v1/iam-service/oauth2InboundConfiguration/34f8b9d2-78c2-4617-bcf2-6eb36403c667
Content-Type: application/json
{
"id": "<existing Id found in Step 2a>",
"clientAppName": "<A meaningful name, e.g. BTP-SalesCloud-Trust>",
"certificate": "<Certificate content from Step 1>"
}</CODE></PRE></DIV><HR /><H3 id="toc-hId-598600438">2c. Create a New Configuration (POST)</H3><DIV><PRE><CODE>POST <Your-Tenant-Host-URL>/sap/c4c/api/v1/iam-service/oauth2InboundConfiguration
Content-Type: application/json
{
"id": "34f8b9d2-78c2-4617-bcf2-6eb36403c667",
"clientAppName": "<A meaningful name, e.g. BTP-SalesCloud-Trust>",
"certificate": "<Certificate content from Step 1>"
}</CODE></PRE></DIV><HR /><H3 id="toc-hId-402086933">2d. Save the Response Values</H3><P>A successful <CODE>POST</CODE> or <CODE>PUT</CODE> returns a JSON response like this:</P><DIV><PRE><CODE>{
"value": {
"id": "...",
"grantType": "SAML2_BEARER",
"nameIdType": "EMAIL",
"spEntityId": "...",
"audience": "<AUDIENCE>",
"tokenServiceUrl": "<TOKEN_URL>",
"clientId": "<CLIENT_ID>",
"scopes": ["<SCOPE_ID>"],
"clientAppName": "...",
"certificate": "..."
}
}</CODE></PRE></DIV><P><STRONG>Note down these four values — you'll need them in Step 3:</STRONG></P><P>Field Used As</P><TABLE><TBODY><TR><TD><CODE>audience</CODE></TD><TD>Audience in BTP destination</TD></TR><TR><TD><CODE>tokenServiceUrl</CODE></TD><TD>Token Service URL in BTP destination</TD></TR><TR><TD><CODE>clientId</CODE> → appears as <CODE>CLIENT_ID</CODE></TD><TD>Client Key in BTP destination</TD></TR><TR><TD><CODE>scopes[0]</CODE> → <CODE>SCOPE_ID</CODE></TD><TD>Scope in BTP destination</TD></TR></TBODY></TABLE><HR /><H2 id="toc-hId-76490709">Step 3: Create the BTP Destination</H2><P>Now configure a destination in your BTP subaccount that uses the inbound configuration values you just collected.</P><OL><LI>Go to <STRONG>SAP BTP Cockpit → Subaccount → Connectivity → Destinations → New Destination</STRONG>.</LI><LI>Fill in the following fields:</LI></OL><P>Property Value</P><TABLE><TBODY><TR><TD><STRONG>Name</STRONG></TD><TD>Your choice (e.g., <CODE>SalesCloudV2_PrincipalProp</CODE>)</TD></TR><TR><TD><STRONG>Type</STRONG></TD><TD><CODE>HTTP</CODE></TD></TR><TR><TD><STRONG>URL</STRONG></TD><TD><CODE><Your SAP Sales/Service Cloud Tenant Host URL></CODE></TD></TR><TR><TD><STRONG>Authentication</STRONG></TD><TD><CODE>OAuth2SAMLBearerAssertion</CODE></TD></TR><TR><TD><STRONG>Audience</STRONG></TD><TD><CODE><AUDIENCE></CODE> from the inbound config response</TD></TR><TR><TD><STRONG>AuthnContextClassRef</STRONG></TD><TD><CODE>urn:none</CODE></TD></TR><TR><TD><STRONG>Client Key</STRONG></TD><TD><CODE><CLIENT_ID></CODE> from the inbound config response</TD></TR><TR><TD><STRONG>Token Service URL</STRONG></TD><TD><CODE><TOKEN_URL></CODE> from the inbound config response</TD></TR><TR><TD><STRONG>Scope</STRONG></TD><TD><CODE><SCOPE_ID></CODE> from the inbound config response</TD></TR><TR><TD><STRONG>nameIdFormat</STRONG></TD><TD><CODE>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</CODE></TD></TR></TBODY></TABLE><BLOCKQUOTE><P>The <CODE>nameIdFormat</CODE> value tells the system to use the user's <STRONG>email address</STRONG> as the SAML NameID — this is how the user identity is matched on the SAP Sales/Service Cloud V2 or ESM side.</P></BLOCKQUOTE><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yogananda_2-1792580515392.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/471421iBBE64E0CCED80432/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="Yogananda_2-1792580515392.png" alt="Yogananda_2-1792580515392.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yogananda_4-1792580650962.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/471423iCABC1E9CA8F54AD3/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="Yogananda_4-1792580650962.png" alt="Yogananda_4-1792580650962.png" /></span></P><HR /><H2 id="toc-hId-227231561">Step 4: Configure Trusted Domains in SAP BTP Authorization & Trust Management</H2><P>As a final step, ensure that your SAP Sales/Service Cloud V2 tenant domain is registered as a <STRONG>trusted domain</STRONG> in SAP BTP's Authorization and Trust Management service (XSUAA/SAP Cloud Identity Services).</P><P>Refer to the official SAP documentation: <STRONG>Configure Trusted Domains for SAP Authorization and Trust Management Service</STRONG>.</P><P>This ensures that SAML assertions issued by BTP are only accepted by explicitly trusted target systems — an important security boundary.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yogananda_1-1792580370724.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/471420iD20E0877D1AC499E/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="Yogananda_1-1792580370724.png" alt="Yogananda_1-1792580370724.png" /></span></P><HR /><H2 id="toc-hId-30718056">Summary</H2><P>Here's a quick recap of the end-to-end setup:</P><DIV><PRE><CODE>Step 1 → Download BTP X.509 Trust Certificate
Step 2 → Register certificate as Inbound OAuth2 Config on SAP Sales/Service Cloud V2
Step 3 → Create OAuth2SAMLBearerAssertion Destination in BTP using response values
Step 4 → Register SAP Sales/Service Cloud V2 domain as trusted in BTP Auth & Trust</CODE></PRE></DIV><P>Once complete, any BTP application or service using this destination will automatically propagate the logged-in user's identity to SAP Sales/Service Cloud V2 — without requiring users to re-authenticate or sharing technical credentials.</P><HR /><H2 id="toc-hId--165795449">Key Takeaways</H2><UL><LI><STRONG>Principal Propagation</STRONG> bridges the identity gap between BTP and SAP Sales/Service Cloud V2, preserving the real user context across systems.</LI><LI>The trust is certificate-based — BTP's signing certificate is registered directly in the SAP Sales/Service Cloud V2 IAM service.</LI><LI>The <STRONG>fixed UUID</STRONG> (<CODE>34f8b9d2-78c2-4617-bcf2-6eb36403c667</CODE>) is a well-known system identifier for this configuration — don't change it.</LI><LI>Only <STRONG>one inbound configuration</STRONG> is allowed per tenant, so manage it carefully across teams.</LI><LI>User matching relies on <STRONG>email address</STRONG> as the SAML NameID — ensure users exist with the same email in both systems.</LI></UL><HR /><P><EM>Share to your colleagues or Have questions or ran into issues during the setup? Drop them in the comments below.</EM></P>2026-10-21T13:05:46.848000+02:00https://community.sap.com/t5/technology-blog-posts-by-sap/sap-key-management-service-taking-control-of-your-encryption-keys-in-the/ba-p/14505365SAP Key Management Service: Taking Control of Your Encryption Keys in the Cloud2026-10-22T15:53:06.852000+02:00saschavierlingerhttps://community.sap.com/t5/user/viewprofilepage/user-id/1487092<P><EM>How SAP KMS empowers customers to manage their own cryptographic keys across SAP cloud services and products</EM></P><H2 id="toc-hId-1845023931">Introduction</H2><P><SPAN>In an era where data sovereignty and regulatory compliance are paramount, organizations moving to the cloud face a critical question: who controls the encryption keys that protect their most sensitive data? SAP has answered this question with the SAP Key Management Service (SAP KMS) — a service designed to put customers firmly in control of their data across SAP cloud services and products.</SPAN></P><P><SPAN>By managing their own encryption keys, customers decide exactly who can access their information. With SAP KMS, data remains inaccessible to any external party — including SAP. This represents a fundamental shift in how data sovereignty is maintained in SAP cloud environments.</SPAN></P><P><SPAN>This blog post provides an in-depth look at SAP KMS, its capabilities, the key management models it supports, and how it integrates with SAP’s cloud portfolio to deliver enterprise-grade data protection.</SPAN></P><P> </P><H2 id="toc-hId-1648510426">Why Key Management Matters in the Cloud</H2><P><SPAN>For enhanced security and data protection, customers require control over their cryptographic keys, empowering them to take a proactive approach to securing their data hosted on SAP cloud services.</SPAN></P><P><SPAN>The need for customer-controlled key management is driven by several factors:</SPAN></P><UL><LI><STRONG>Regulatory Compliance: </STRONG>Regulations such as GDPR, CCPA, and industry-specific mandates often require organizations to demonstrate control over their encryption mechanisms and keys.</LI><LI><STRONG>Data Sovereignty: </STRONG>Organizations need assurance that their data cannot be accessed by unauthorized parties, including cloud service providers.</LI><LI><STRONG>Risk Mitigation: </STRONG>Controlling encryption keys allows organizations to revoke access instantly, rendering data unreadable in the event of a breach or a change in business relationships.</LI><LI><STRONG>Zero-Trust Architecture: </STRONG>Modern security frameworks demand that no entity — internal or external — is implicitly trusted. Customer-controlled key management aligns with this principle.</LI></UL><H1 id="toc-hId-1322914202"> </H1><H2 id="toc-hId-1255483416">What Is SAP Key Management Service?</H2><P><SPAN>SAP Key Management Service (SAP KMS) is a cloud-based service that provides customers with a centralized and secure way to manage the cryptographic keys used to encrypt data across SAP cloud services.</SPAN></P><P><SPAN>The service enables customers to securely manage and control the encryption keys used to protect their business data, and helps ensure that encryption and decryption can occur only with their approval.</SPAN></P><H2 id="toc-hId-1058969911"> </H2><H2 id="toc-hId-862456406">Core Capabilities</H2><P><SPAN>SAP KMS provides a comprehensive set of key management capabilities:</SPAN></P><TABLE width="850"><TBODY><TR><TD width="187"><P><STRONG>Capability</STRONG></P></TD><TD width="415"><P><STRONG>Description</STRONG></P></TD></TR><TR><TD width="187"><P>Bring Your Own Key (BYOK)</P></TD><TD width="415"><P>Import existing keys from external key management systems into SAP KMS FIPS 140-2 Level 3-compliant keystore</P></TD></TR><TR><TD width="187"><P>Hold Your Own Key (HYOK)</P></TD><TD width="415"><P>Register a key from an external keystore to keep the key material in the customer keystore only</P></TD></TR><TR><TD width="187"><P>Key rotation</P></TD><TD width="415"><P>Rotate keys on demand and re-encrypt top-level keys</P></TD></TR><TR><TD width="187"><P>Global or regional deployment</P></TD><TD width="415"><P>Deploy one or multiple SAP KMS tenants based on customer need</P></TD></TR><TR><TD width="187"><P>4+ eyes principle</P></TD><TD width="415"><P>Use workflows to secure all key actions executed by key administrators</P></TD></TR><TR><TD width="187"><P>Key wrapping</P></TD><TD width="415"><P>Wrap and unwrap data encryption keys for secure distribution across services</P></TD></TR><TR><TD width="187"><P>Flexible assignment</P></TD><TD width="415"><P>Flexibly assign SAP cloud solutions to customer keys</P></TD></TR><TR><TD width="187"><P>Access control</P></TD><TD width="415"><P>Role-based access, authentication, and authorization for key management operations</P></TD></TR></TBODY></TABLE><P> </P><H2 id="toc-hId-665942901">Customer-Managed Key Scenarios</H2><P><SPAN>SAP KMS supports multiple key management models to accommodate different security requirements and compliance postures. Each model offers a different balance of control, convenience, and operational responsibility.</SPAN></P><H3 id="toc-hId-598512115">Bring Your Own Key (BYOK)</H3><P><SPAN>BYOK allows customers to generate a key externally and import it into the SAP KMS tenant. This model is suited for organizations that want to generate keys using their own certified hardware security modules (HSMs) while still leveraging SAP’s managed key infrastructure for daily operations.</SPAN></P><H3 id="toc-hId-401998610">Hold Your Own Key (HYOK)</H3><P><SPAN>HYOK represents the highest level of customer control. The encryption key never leaves the customer’s external keystore. SAP KMS is connected to the customer’s external key management system and uses the permitted key for cryptographic operations without ever storing or caching it.</SPAN></P><UL><LI>The key remains under the customer’s sole control at all times</LI><LI>The customer can revoke access instantly by disabling the key in their external keystore</LI></UL><P><SPAN> </SPAN></P><H2 id="toc-hId-76402386">Key Scenario Comparison</H2><TABLE width="800"><TBODY><TR><TD width="150"><P><STRONG>Aspect</STRONG></P></TD><TD width="150"><P><STRONG>BYOK</STRONG></P></TD><TD width="152"><P><STRONG>HYOK</STRONG></P></TD></TR><TR><TD width="150"><P><STRONG>Key location</STRONG></P></TD><TD width="150"><P>Generated externally, imported to SAP</P></TD><TD width="152"><P>Customer’s external keystore</P></TD></TR><TR><TD width="150"><P><STRONG>Customer control</STRONG></P></TD><TD width="150"><P>After import of the key, lifecycle within SAP KMS</P></TD><TD width="152"><P>Complete — key never leaves customer</P></TD></TR><TR><TD width="150"><P><STRONG>SAP access to key</STRONG></P></TD><TD width="150"><P>No direct access</P></TD><TD width="152"><P>No access — remote calls only</P></TD></TR><TR><TD width="150"><P><STRONG>Revocation speed</STRONG></P></TD><TD width="150"><P>Immediate via SAP KMS tenant</P></TD><TD width="152"><P>Immediate via external keystore</P></TD></TR><TR><TD width="150"><P><STRONG>Best for</STRONG></P></TD><TD width="150"><P>HSM-centric, flexible organizations</P></TD><TD width="152"><P>Maximum control & compliance</P></TD></TR></TBODY></TABLE><P><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="scenarios.jpg" style="width: 904px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/470877i05405A29AE2C6EE9/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="scenarios.jpg" alt="scenarios.jpg" /></span></P><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P><H2 id="toc-hId-227143238"> </H2><H2 id="toc-hId-30629733"> </H2><H2 id="toc-hId--165883772"> </H2><H2 id="toc-hId--362397277"> </H2><H2 id="toc-hId--558910782"> </H2><H2 id="toc-hId--755424287">Integration with SAP Cloud Services</H2><P><SPAN>SAP KMS integrates natively with a growing portfolio of SAP cloud services, enabling customer-managed encryption across the SAP landscape:</SPAN></P><UL><LI>SAP S/4HANA Cloud Private Edition (coming soon)</LI><LI>SAP Datasphere (SAP Business Data Cloud)</LI><LI>SAP Credential Store (SAP Business Technology Platform)</LI><LI>SAP HANA Cloud (SAP Business Technology Platform)</LI><LI>More to come…</LI></UL><P> </P><H2 id="toc-hId--951937792">How SAP KMS Works: Architecture Overview</H2><P><SPAN>At a high level, SAP KMS operates within a layered encryption architecture:</SPAN></P><OL><LI><STRONG>Data Encryption: </STRONG>SAP cloud services encrypt data at rest using Data Encryption Keys (DEKs) generated by the service itself.</LI><LI><STRONG>Key Encryption: </STRONG>The DEKs are encrypted (wrapped) using root encryption keys managed within the SAP service’s secure store (e.g., SAP HANA’s Instance Secure Store or Local Secure Store).</LI><LI><STRONG>Customer Master Key: </STRONG>SAP KMS provides the customer’s master key, which encrypts (wraps) the root encryption keys. This is the key the customer controls.</LI><LI><STRONG>Access Control: </STRONG>Without the customer’s master key, the root keys cannot be decrypted, and therefore the data remains inaccessible. Revoking the key immediately locks the data.</LI></OL><P><SPAN>This envelope encryption approach ensures that SAP never needs direct access to customer data, while the customer maintains a “kill switch” capability to revoke access at any time.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="SAP Key Management Service Architecture" style="width: 904px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/470878i88FB57947568408F/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="architecture.jpg" alt="SAP Key Management Service Architecture" /><span class="lia-inline-image-caption" onclick="event.preventDefault();">SAP Key Management Service Architecture</span></span></P><P> </P><H2 id="toc-hId--1148451297"> </H2><H2 id="toc-hId--1344964802"> </H2><H2 id="toc-hId--1541478307"> </H2><H2 id="toc-hId--1569808121"> </H2><H2 id="toc-hId--1766321626"> </H2><H2 id="toc-hId--1962835131"> </H2><H2 id="toc-hId-2135618660"> </H2><H2 id="toc-hId-1939105155"> </H2><H2 id="toc-hId-1742591650"> </H2><H2 id="toc-hId-1546078145"> </H2><H2 id="toc-hId-1349564640">Security Foundations</H2><P><SPAN>SAP KMS is built on robust security foundations to ensure the integrity and confidentiality of key management operations:</SPAN></P><UL><LI><STRONG>FIPS 140-2 Level 3 Compliance: </STRONG>The underlying keystore infrastructure meets stringent federal security standards</LI><LI><STRONG>Cloud-Agnostic Architecture: </STRONG>SAP KMS operates independently of the underlying hyperscaler, providing consistent security across multi-cloud deployments</LI><LI><STRONG>Role-Based Access Control: </STRONG>Granular roles (Key Administrator, Key User) ensure separation of duties in key management operations</LI><LI><STRONG>Comprehensive Audit Trail: </STRONG>Every key operation is logged for compliance and forensic purposes</LI></UL><P> </P><H2 id="toc-hId-1153051135">Conclusion</H2><P><SPAN>SAP Key Management Service represents a significant step forward in SAP’s commitment to customer data sovereignty and cloud security. By enabling customers to manage, rotate, and revoke their own encryption keys, SAP KMS ensures that organizations maintain full control over their data — even in a fully cloud-hosted environment.</SPAN></P><P><SPAN>Whether you choose BYOK or HYOK for maximum control with keys that never leave your keystore, SAP KMS provides the flexibility to meet your security and compliance requirements.</SPAN></P><P><SPAN>As SAP continues to expand the integration of KMS across its cloud portfolio, organizations can confidently accelerate their cloud transformation knowing that their most sensitive data remains firmly under their control. </SPAN></P><P><SPAN>If you want to learn more about the new solution, actively engage with SAP subject matter experts and your peers, and stay up to date about the topic of <STRONG>SAP Key Management Service</STRONG>, join our community at our <A href="https://pages.community.sap.com/topics/key-management-service" target="_blank" rel="noopener noreferrer">SAP Key Management Service topic page</A>!</SPAN></P><P> </P><H2 id="toc-hId-956537630">Further Reading</H2><UL><LI><A href="https://help.sap.com/docs/SAP_Key_Management_Service/b553377444b348789f63437ed18cb789/fe3d07c535414dbf90bc69f324a5f35e.html?locale=en-US&ai=true" target="_blank" rel="noopener noreferrer">SAP KMS Help Page</A></LI><LI><A href="https://www.sap.com/products/financial-management/key-management-service.html" target="_blank" rel="noopener noreferrer">SAP KMS Product Page</A></LI><LI><A href="https://pages.community.sap.com/topics/key-management-service" target="_blank" rel="noopener noreferrer">SAP KMS Topic Page</A></LI></UL><P><SPAN> </SPAN></P><P><STRONG><EM>Disclaimer: </EM></STRONG><EM>This blog post is intended for informational purposes. Product features and availability may vary by region and release. Always refer to the latest SAP documentation and your SAP account team for the most current information.</EM></P>2026-10-22T15:53:06.852000+02:00https://community.sap.com/t5/technology-blog-posts-by-sap/the-hidden-security-habit-every-sap-btp-admin-must-master-service-key/ba-p/14510539The Hidden Security Habit Every SAP BTP Admin Must Master: Service Key Rotation2026-10-25T16:46:23.711000+01:00Yoganandahttps://community.sap.com/t5/user/viewprofilepage/user-id/75<H2 id="introduction-the-credential-nobody-owns" id="toc-hId-1845800330">Introduction: the credential nobody owns</H2><P>A service key is usually created in thirty seconds, pasted into a <CODE>.env</CODE> file or a CI variable or Destination or any 3rd Party applications, and then forgotten for years. That is exactly why it becomes one of the most dangerous objects in your SAP BTP landscape.</P><P>If you integrate anything with BTP from outside the platform (a local development machine, an on-premise system, a GitHub Actions pipeline, a low-code tool such as n8n), you almost certainly rely on service keys. They give you a client ID and secret, or a certificate, that unlocks a service instance: XSUAA, Destination, Object Store, Cloud Logging, SAP AI Core and many more.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HUPk_sdWQAAnTdY.jpeg" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/472706i032A2EC801A68630/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="HUPk_sdWQAAnTdY.jpeg" alt="HUPk_sdWQAAnTdY.jpeg" /></span></P><P>This blogpost explains what service keys really are, <STRONG><FONT color="#008000">why you must rotate them, and how to do it without downtime,</FONT></STRONG> using the <CODE>cf</CODE> CLI, the <CODE>btp</CODE> CLI and a small automation pattern you can drop into a pipeline.</P><H2 id="what-a-service-key-is-and-is-not" id="toc-hId-1649286825">What a service key is (and is not)</H2><P>A service key is a set of credentials generated on demand for an existing service instance. It is meant for clients that live outside the platform. Credentials meant for an application running inside Cloud Foundry or Kyma are called service bindings, and they reach the app through <CODE>VCAP_SERVICES</CODE> or a Kubernetes secret. The mechanics are the same, which is why this post applies to both.</P><P>For an XSUAA instance, a key typically contains the following fields:</P><UL><LI><CODE>clientid</CODE> and <CODE>clientsecret</CODE>: the OAuth 2.0 client credentials</LI><LI><CODE>url</CODE> and <CODE>uaadomain</CODE>: the token endpoint host</LI><LI><CODE>xsappname</CODE>, <CODE>identityzone</CODE>, <CODE>tenantid</CODE>: identifiers of the application and subaccount</LI><LI><CODE>verificationkey</CODE>: the public key used to validate issued JWTs</LI></UL><P>Whoever holds the <CODE>clientid</CODE> and <CODE>clientsecret</CODE> can request tokens with the scopes of the service instance, from anywhere on the internet. There is no IP restriction and no user attached. The key is the identity.</P><H3 id="credential-types" id="toc-hId-1581856039">Credential types</H3><P>Many BTP services let you choose how a key authenticates. The choice decides how painful rotation will be.</P><TABLE><COLGROUP><COL /><COL /><COL /><COL /></COLGROUP><TBODY><TR><TD><P><STRONG>Credential type</STRONG></P></TD><TD><P><STRONG>What you get</STRONG></P></TD><TD><P><STRONG>Rotation effort</STRONG></P></TD><TD><P><STRONG>Typical risk</STRONG></P></TD></TR><TR><TD><P>Client secret (default, <CODE>binding-secret</CODE>)</P></TD><TD><P><CODE>clientid</CODE> + <CODE>clientsecret</CODE></P></TD><TD><P>Create a new key, replace the secret everywhere</P></TD><TD><P>A leaked string works until you delete the key</P></TD></TR><TR><TD><P>X.509 certificate</P></TD><TD><P>Client certificate and private key (mTLS)</P></TD><TD><P>Keys expire by design; re-issue before expiry</P></TD><TD><P>Needs the private key, not just a string</P></TD></TR><TR><TD><P>Instance secret</P></TD><TD><P>One secret shared by the instance</P></TD><TD><P>Rotation touches every consumer at once</P></TD><TD><P>Large blast radius</P></TD></TR></TBODY></TABLE><P>For X.509 on XSUAA you request the type when creating the key, with a short validity:</P><PRE><CODE>cf create-service-key my-xsuaa key-x509 -c '{
"credential-type": "x509",
"x509": { "key-length": 2048, "validity": 7, "validity-type": "DAYS" }
}'</CODE></PRE><P data-unlink="true">Supported parameters differ per service, so check the documentation of the service you use on <A href="https://help.sap.com/docs/authorization-and-trust-management-service/authorization-and-trust-management/rotate-signing-keys-of-access-tokens" target="_self" rel="noopener noreferrer">SAP Help Portal</A> .</P><H2 id="why-rotation-is-needed" id="toc-hId-1256259815"><A href="https://help.sap.com/docs/authorization-and-trust-management-service/authorization-and-trust-management/managing-secrets-of-sap-authorization-and-trust-management-service" target="_self" rel="noopener noreferrer">Why rotation is needed</A></H2><P>A service key never expires on its own (unless you chose X.509 with a validity). Every day it exists, the chance that it has leaked grows, and you never learn about the leak until it is abused. Rotation puts a ceiling on that exposure.</P><UL><LI><STRONG><FONT color="#993300">Leaks are silent</FONT>.</STRONG> Keys end up in shell history, screenshots, support tickets, Postman collections, Git commits and CI logs. A leaked key looks identical to a legitimate one in the logs.</LI><LI><STRONG><FONT color="#993300">People and projects leave</FONT>.</STRONG> The developer who created a key for a proof of concept may have left the company. Rotation, combined with an inventory, forces someone to claim every key or let it die.</LI><LI><STRONG><FONT color="#993300">Blast radius</FONT>.</STRONG> A key carries the scopes of the whole instance. Short-lived or frequently replaced keys limit how long an attacker can use what they stole.</LI><LI><STRONG><FONT color="#993300">Compliance</FONT>.</STRONG> Frameworks such as ISO 27001, SOC 2 and internal security policies commonly require periodic credential rotation and evidence that it happens.</LI><LI><STRONG><FONT color="#993300">Proof that you can do it</FONT>.</STRONG> The worst time to learn that rotating a credential breaks three undocumented consumers is during an incident. A routine rotation is a fire drill you run on your own schedule.</LI></UL><H3 id="what-it-buys-you-in-an-incident" id="toc-hId-1188829029">What it buys you in an incident</H3><P>If rotation is a routine, a suspected leak becomes a normal operation: create a new key, move consumers over, delete the old key. If it is not a routine, you face a decision between a possible breach and a possible outage, usually at night.</P><P>Deleting a key revokes its client secret at the service, so a rotation also invalidates any copy someone made earlier. Tokens that were already issued stay valid until they expire, which is why short token lifetimes matter as well.</P><H2 id="the-zero-downtime-pattern-overlap-switch-retire" id="toc-hId-863232805">The zero-downtime pattern: overlap, switch, retire</H2><P>The key point is that a service instance can have several keys at the same time. You never edit a key in place. You add a second one next to the first, and you retire the first only after every consumer has moved.</P><OL><LI><STRONG>Inventory.</STRONG> List the existing keys and find out who uses each one.</LI><LI><STRONG>Create</STRONG> a new key with a versioned or dated name, for example <CODE>ci-2026-10</CODE>.</LI><LI><STRONG>Distribute</STRONG> the new credentials to your secret store or CI system.</LI><LI><STRONG>Switch</STRONG> the consumers: redeploy, restart or let them reload the secret.</LI><LI><STRONG>Verify</STRONG> that the consumers obtain tokens with the new key and that errors stay flat.</LI><LI><STRONG>Wait</STRONG> a grace period, so that slow consumers (nightly jobs, a colleague's laptop) fail loudly rather than silently.</LI><LI><STRONG>Delete</STRONG> the old key. This is the step that actually closes the leak.</LI></OL><P>Two habits make this reliable. First, name keys with a purpose and a date (<CODE>n8n-prod-2026-10</CODE>), so age and owner are visible in a listing. Second, give each consumer its own key. If five systems share one key, you can rotate it only by switching five systems on the same day, and you cannot tell which of them used it last.</P><H2 id="hands-on-rotating-a-key-with-the-cli" id="toc-hId-666719300">Hands-on: rotating a key with the CLI</H2><H3 id="cloud-foundry-cf-cli" id="toc-hId-599288514">Cloud Foundry (<CODE>cf</CODE> CLI)</H3><P>Start with an inventory of the keys on the instance:</P><PRE><CODE>cf service-keys my-xsuaa</CODE></PRE><P>Create the replacement key and read its credentials through the API, which is more robust to script than the formatted CLI output:</P><PRE><CODE>NEW_KEY="n8n-prod-$(date +%Y-%m)"
cf create-service-key my-xsuaa "$NEW_KEY"
GUID=$(cf service-key my-xsuaa "$NEW_KEY" --guid)
cf curl "/v3/service_credential_bindings/$GUID/details" | jq '.credentials'</CODE></PRE><P>After the consumers have switched and the grace period is over, remove the old key:</P><PRE><CODE>cf delete-service-key my-xsuaa n8n-prod-2026-09 -f</CODE></PRE><P>For service bindings used by apps, the equivalent is to create a new binding and restart the app so it reads the new <CODE>VCAP_SERVICES</CODE>. A rolling restart avoids downtime:</P><PRE><CODE>cf restart my-app --strategy rolling</CODE></PRE><H3 id="other-environments-btp-cli-and-service-manager" id="toc-hId-402775009">Other environments (<CODE>btp</CODE> CLI and Service Manager)</H3><P>In Kyma or any non-Cloud-Foundry environment, keys are called bindings and are managed through Service Manager. The <CODE>btp</CODE> CLI exposes them: <A href="https://help.sap.com/docs/btp/btp-cli-command-reference/security-token-key" target="_self" rel="noopener noreferrer">btp CLI</A></P><PRE><CODE>btp list services/binding
btp create services/binding --name ci-2026-10 --service-instance my-xsuaa
btp delete services/binding --name ci-2026-09 --confirm</CODE></PRE><P>In Kyma, the equivalent is a <CODE>ServiceBinding</CODE> resource that writes the credentials to a Kubernetes secret. Creating a second <CODE>ServiceBinding</CODE> and pointing the workload at the new secret follows the same overlap pattern. Command flags change between CLI versions, so confirm them with <CODE>btp help</CODE> before you script anything.</P><H2 id="automating-rotation-and-storing-the-result" id="toc-hId-77178785">Automating rotation and storing the result</H2><P>Manual rotation works once. A scheduled job works every time. The script below creates a fresh key, hands the credentials to your secret store, and deletes keys older than a grace period. It is a starting point, not a drop-in product: adapt the secret-store call and test it on a non-production instance first.</P><PRE><CODE>#!/usr/bin/env bash
set -euo pipefail
INSTANCE="$1" # service instance name
PREFIX="$2" # key name prefix, e.g. n8n-prod
GRACE_DAYS="${3:-14}" # how long old keys stay alive
NEW_KEY="${PREFIX}-$(date +%Y%m%d)"
cf create-service-key "$INSTANCE" "$NEW_KEY"
GUID=$(cf service-key "$INSTANCE" "$NEW_KEY" --guid)
CREDS=$(cf curl "/v3/service_credential_bindings/$GUID/details" | jq -c '.credentials')
# 1. Push to your secret store (never echo or log $CREDS)
# e.g. vault kv put secret/btp/$PREFIX value="$CREDS"
# 2. Retire old keys of this prefix beyond the grace period
INST_GUID=$(cf service "$INSTANCE" --guid)
CUTOFF=$(date -u -d "-${GRACE_DAYS} days" +%Y-%m-%dT%H:%M:%SZ)
cf curl "/v3/service_credential_bindings?type=key&service_instance_guids=${INST_GUID}" \
| jq -r --arg p "$PREFIX" --arg c "$CUTOFF" --arg n "$NEW_KEY" \
'.resources[] | select((.name|startswith($p)) and .name != $n and .created_at < $c) | .name' \
| while read -r OLD; do
echo "Deleting expired key: $OLD"
cf delete-service-key "$INSTANCE" "$OLD" -f
done</CODE></PRE><H3 id="where-the-new-credentials-should-live" id="toc-hId--65483370">Where the new credentials should live</H3><UL><LI><STRONG>A dedicated secret manager.</STRONG> HashiCorp Vault, Azure Key Vault, AWS Secrets Manager, or the SAP Credential Store service on BTP. Consumers fetch the secret at start-up or on a refresh interval, so a rotation needs no redeploy.</LI><LI><STRONG>CI/CD secrets.</STRONG> GitHub Actions, GitLab CI or Jenkins credentials, updated by the rotation job through their API.</LI><LI><STRONG>Not in Git, not in images, not in chat.</STRONG> Not even in a private repository, and not as a plain environment variable baked into a container image.</LI></UL><P>Run the job on a schedule, for example every 60 or 90 days, and make the grace period shorter than the interval. Alert when a rotation fails, because a silent failure is worse than no automation: it creates the false impression that the problem is handled.</P><P>The cleanest long-term step is to remove the shared secret entirely. Where the service supports it, prefer X.509 credentials with a short validity, or an identity federation flow such as OIDC trust between your CI provider and BTP, so that no long-lived secret exists to rotate.</P><H2 id="pitfalls-checklist-and-conclusion" id="toc-hId-31406132">Pitfalls, checklist and conclusion</H2><H3 id="common-pitfalls" id="toc-hId--458510380">Common pitfalls</H3><UL><LI><STRONG>Deleting before switching.</STRONG> Remove the old key only after you have seen the new one working in production.</LI><LI><STRONG>Forgotten consumers.</STRONG> Cron jobs, notebooks and a colleague's local <CODE>default-env.json</CODE> break after the delete. Use the grace period and watch authentication failures.</LI><LI><STRONG>One key for everything.</STRONG> It makes rotation a coordinated big-bang change and hides who uses what.</LI><LI><STRONG>Cached tokens and clients.</STRONG> Applications that read the secret once at start-up need a restart, or a reload mechanism, to pick up the new value.</LI><LI><STRONG>Rotating the key but not the access around it.</STRONG> A new key with the same wide scopes only shortens the exposure. Combine rotation with least-privilege scopes and role collections.</LI><LI><STRONG>No monitoring.</STRONG> Check the audit logs and authentication errors after each rotation; SAP Audit Log service records management operations on service instances.</LI></UL><H3 id="checklist" id="toc-hId--655023885">Checklist</H3><UL><LI>Every service key has an owner, a purpose and a date in its name</LI><LI>One key per consumer, no shared keys</LI><LI>Rotation interval defined (for example 90 days) and automated</LI><LI>Credentials live in a secret manager, not in code or images</LI><LI>Old keys are deleted after a fixed grace period</LI><LI>Failures of the rotation job raise an alert</LI><LI>Short-lived X.509 or federated identity used wherever the service supports it</LI></UL><H3 id="conclusion" id="toc-hId--851537390">Conclusion</H3><P>Service key rotation is cheap insurance. It limits how long a leaked credential is useful, it forces you to know who depends on what, and it turns an emergency into a routine. Create the new key beside the old one, move the consumers, verify, wait, delete. Put that on a schedule and the quiet backbone of your BTP integrations stops being its quietest risk.</P>2026-10-25T16:46:23.711000+01:00https://community.sap.com/t5/technology-blog-posts-by-sap/custom-checks-in-sap-cloud-alm-configuration-amp-security-analysis-04/ba-p/14510980Custom Checks in SAP Cloud ALM – Configuration & Security Analysis - 042026-10-26T13:06:02.892000+01:00rajeshnagarajanhttps://community.sap.com/t5/user/viewprofilepage/user-id/253209<P><A href="https://community.sap.com/t5/technology-blog-posts-by-sap/custom-checks-in-sap-cloud-alm-configuration-amp-security-analysis-01/ba-p/14485045" target="_blank">Custom Checks in SAP Cloud ALM – Configuration & Security Analysis - 01</A> </P><P><A href="https://community.sap.com/t5/technology-blog-posts-by-sap/custom-checks-in-sap-cloud-alm-configuration-amp-security-analysis-02/ba-p/14485882" target="_blank">Custom Checks in SAP Cloud ALM – Configuration & Security Analysis - 02</A><SPAN> </SPAN></P><P><A href="https://community.sap.com/t5/technology-blog-posts-by-sap/custom-checks-in-sap-cloud-alm-configuration-amp-security-analysis-03/ba-p/14486543" target="_blank">Custom Checks in SAP Cloud ALM – Configuration & Security Analysis - 03</A><SPAN> </SPAN></P><H1 id="toc-hId-1716721601">Validation – Text Editor</H1><P> This is new feature added recently in custom checks to help complex condition inputs.</P><P>In current validation section we see editor with field names and value condition. Maximum complex condition we are allowing for a field is with ‘HANA SQL Expression’ operator. If end users have condition ready from external source(or generated using AI), entering in this UI editor is hard job or sometime not possible.</P><P>To overcome this we opened option with text editor</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rajeshnagarajan_0-1793016038873.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/472910iB76D84476D6B99F5/image-size/medium/is-moderation-mode/true?v=v2&px=400" role="button" title="rajeshnagarajan_0-1793016038873.png" alt="rajeshnagarajan_0-1793016038873.png" /></span></P><P>By clicking the top ‘T’ button , you can switch from UI editor to text editor. Previously this was in display only. Now its enabled for both compliant and non compliant conditions.</P><P>You will get message if you try to switch with incomplete values</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rajeshnagarajan_1-1793016038875.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/472911i4E04D4917E20F67E/image-size/medium/is-moderation-mode/true?v=v2&px=400" role="button" title="rajeshnagarajan_1-1793016038875.png" alt="rajeshnagarajan_1-1793016038875.png" /></span></P><P>You can define some basic condition or without entering any value you can switch( use “—Select Operator –- “ option if you selected some operator and getting the above message. Or you can complete your known condition and switch also.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rajeshnagarajan_2-1793016038875.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/472909i91DB7A8B6FBA9725/image-size/medium/is-moderation-mode/true?v=v2&px=400" role="button" title="rajeshnagarajan_2-1793016038875.png" alt="rajeshnagarajan_2-1793016038875.png" /></span></P><P>Two editor will be opened : one for compliant condition, another for non-compliant condition.</P><P>You can enter conditions here and switch back to UI editor if the condition is in expected format and not too complex to convert back to UI format. Hana functions are not switchable to UI editor as of now.</P><P>To know the available fields you can use this icon:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rajeshnagarajan_3-1793016038876.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/472913iBFDF92C097B01DD0/image-size/medium/is-moderation-mode/true?v=v2&px=400" role="button" title="rajeshnagarajan_3-1793016038876.png" alt="rajeshnagarajan_3-1793016038876.png" /></span></P><P>As both the compliant and non-compliant editors are open , we need to type both conditions:</P><P>If the format is simpler and convertible back to UI, if you click the table view icon, it will switch it.</P><P>Example:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rajeshnagarajan_4-1793016038877.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/472912i236BE3E84B3876C3/image-size/medium/is-moderation-mode/true?v=v2&px=400" role="button" title="rajeshnagarajan_4-1793016038877.png" alt="rajeshnagarajan_4-1793016038877.png" /></span></P><P>Like this:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rajeshnagarajan_5-1793016038879.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/472914i0B3E99281D11B0FC/image-size/medium/is-moderation-mode/true?v=v2&px=400" role="button" title="rajeshnagarajan_5-1793016038879.png" alt="rajeshnagarajan_5-1793016038879.png" /></span></P><P>If the condition is complex or without proper format, it will not be converted back and you get this message:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rajeshnagarajan_6-1793016038881.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/472915i51686F504B14494F/image-size/medium/is-moderation-mode/true?v=v2&px=400" role="button" title="rajeshnagarajan_6-1793016038881.png" alt="rajeshnagarajan_6-1793016038881.png" /></span></P><P>But no worries, you are allowed to save the check . Backend validations will be performed on both the conditions and will be considered to evaluate store records.</P><P>Pls note:</P><UL><LI> In the case of not convertible format, we don’t have config Item keys concept, so the rules for the ‘Item key not found’ is not applicable here.</LI><LI>There won’t be ‘Generate Non-Compliance Rule’ button in the text editor mode as its expecting both condition to be entered by user.</LI><LI>You are not allowed to save empty condition.</LI></UL><P><SPAN>To be continued…</SPAN></P>2026-10-26T13:06:02.892000+01:00https://community.sap.com/t5/technology-blog-posts-by-members/sapautologon-connect-keepass-with-sap-logon-and-sap-gui/ba-p/14511012SAPAutoLogon: Connect KeePass with SAP Logon and SAP GUI2026-10-26T13:42:55.225000+01:00abdullahguneshttps://community.sap.com/t5/user/viewprofilepage/user-id/844<P><STRONG>Introduction</STRONG></P><P>Anyone who works with many SAP systems keeps logon details somewhere: system ID, application server, instance number, client, user and password. A password manager is the right place for the credentials, but the connection data is usually typed again by hand, or the session is started through SAP Logon in a separate step.</P><P>SAPAutoLogon brings both together. It is a free, open source plugin for KeePass 2.x that reads your SAP Logon configuration, fills the connection fields of a KeePass entry, and starts SAP GUI or SAP Business Client directly from the KeePass entry list.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="demo.gif" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/472929i7ABF3E9571FAD9CB/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="demo.gif" alt="demo.gif" /></span></P><P class="lia-align-center" style="text-align: center;"> <SPAN> Importing a SAP Logon folder into a KeePass group.</SPAN></P><P><STRONG>What the plugin does</STRONG></P><P><EM>SAP tab in the entry dialog.</EM> The Add Entry and Edit Entry dialogs get an additional SAP tab. In Manual mode, which is the default, you enter the connection fields yourself and a status line tells you whether the entry is ready to launch.</P><P class="lia-align-center" style="text-align: center;"><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="sap-tab-manual.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/472930i71E5CFE826128AB2/image-size/medium/is-moderation-mode/true?v=v2&px=400" role="button" title="sap-tab-manual.png" alt="sap-tab-manual.png" /></span></P><P class="lia-align-center" style="text-align: center;"> The SAP tab in Manual mode.</P><P>In Automatic mode a searchable list shows the systems from SAP Logon. Selecting one fills the fields, and every field stays editable. Direct application servers, logon groups with a message server, SAProuter strings and SNC are supported. If SAP Logon stores no client or language, the plugin fills client 100 and language EN.</P><P class="lia-align-center" style="text-align: center;"><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="sap-tab-automatic.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/472931iE9EB0D202091CC36/image-size/medium/is-moderation-mode/true?v=v2&px=400" role="button" title="sap-tab-automatic.png" alt="sap-tab-automatic.png" /></span></P><P class="lia-align-center" style="text-align: center;"> The SAP tab in Automatic mode, with the search box and the selected system.</P><P>The values are stored as normal string fields of the entry (systemId, applicationServer, systemNumber, messageServer, messageServerPort, group, sapRouterString, sncName, sncType, client, language and transaction). They are visible on the Advanced tab, and the database stays readable without the plugin.</P><P><EM>Import from SAP Logon.</EM> The context menu of a KeePass group has the command Import from SAP Logon.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="group-menu.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/472932iF3D94E7C3627216F/image-size/medium/is-moderation-mode/true?v=v2&px=400" role="button" title="group-menu.png" alt="group-menu.png" /></span></P><P class="lia-align-center" style="text-align: center;"> <SPAN> The group context menu with the Import from SAP Logon command.</SPAN></P><P>A window shows the SAP Logon folder tree with the number of systems per folder, a search box and a preview of what will be created. Subfolders become nested groups and systems become entries. Existing groups are reused, and entries that are already present are skipped and never changed. You can optionally set a default user name for systems that have none in SAP Logon. Imported entries receive the SAP logo as their icon.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="import-popup.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/472933i26BB05AB2008CE7E/image-size/medium/is-moderation-mode/true?v=v2&px=400" role="button" title="import-popup.png" alt="import-popup.png" /></span></P><P class="lia-align-center" style="text-align: center;"> <SPAN> The Import from SAP Logon window.</SPAN></P><P><EM>Launching.</EM> The columns SAP GUI and Business Client in the entry list start the session with a double click. The same actions are in the entry context menu and on the shortcuts Ctrl+Shift+G for SAP GUI and Ctrl+Shift+N for SAP Business Client. SAP GUI is started through sapshcut.exe, whose parameters are described in SAP Note 103019, and SAP Business Client through NWBC.exe.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="entry-list.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/472934iB9042DDE29177888/image-size/medium/is-moderation-mode/true?v=v2&px=400" role="button" title="entry-list.png" alt="entry-list.png" /></span></P><P class="lia-align-center" style="text-align: center;"> <SPAN> Imported groups and entries with the launch columns.</SPAN></P><P><STRONG>Installation</STRONG></P><OL><LI>Download SAPAutoLogon.dll from the latest release on GitHub.</LI><LI>Copy it into the Plugins folder of your KeePass installation.</LI><LI>Restart KeePass.</LI><LI>The SAP GUI and Business Client columns appear in the entry list automatically.</LI></OL><P>Requirements are Windows, KeePass 2.x, SAP GUI for Windows with sapshcut.exe and/or SAP Business Client, and SAP Logon for the system list. Without SAP Logon the SAP tab still works in Manual mode. If you used another SAP launch plugin before, remove it first. The plugin supports the KeePass update check under Help, Check for Updates.</P><P><STRONG>Security considerations</STRONG></P><P>Please read this section before you use the plugin with productive systems.</P><UL><LI>The plugin only reads the SAP Logon landscape files, including the shared landscape file, and never changes them or the registry. If the shared landscape is configured as a URL, it is fetched with a plain GET request. There is no other network access and no telemetry.</LI><LI>To log on automatically, the user name and the password of the KeePass entry are passed to sapshcut.exe as arguments. The password is therefore visible on the command line of the process while SAP GUI starts. This is how sapshcut.exe works, so decide for each system whether this is acceptable.</LI><LI>The optional default user name of the import is stored in plain text in KeePass.config.xml. Never enter a password there.</LI><LI>An import changes the database in memory. KeePass has no undo, so review the result before you save.</LI></UL><P><STRONG>Source, download and feedback</STRONG></P><UL><LI>Project page with screenshots:<SPAN> </SPAN><A href="https://abgunes.github.io/SAPAutoLogon/" target="_blank" rel="noopener noreferrer nofollow">https://abgunes.github.io/SAPAutoLogon/</A></LI><LI>Source code and download (AGPL 3.0):<SPAN> </SPAN><A href="https://github.com/abgunes/SAPAutoLogon" target="_blank" rel="noopener noreferrer nofollow">https://github.com/abgunes/SAPAutoLogon</A></LI></UL><P>The plugin builds on the KPSAPLunch plugin by David Suchopar. I would be glad to hear which connection types and SAP Logon setups you use, so please leave a comment or open an issue on GitHub.<BR /><BR />#<SPAN>SAP GUI, #SAPLogon, #SAPBusinessClient, #KeePass, #Security</SPAN></P>2026-10-26T13:42:55.225000+01:00https://community.sap.com/t5/technology-blog-posts-by-members/integrating-okta-with-sap-cloud-identity-services-using-a-custom-scim-2-0/ba-p/14509634Integrating Okta with SAP Cloud Identity Services Using a Custom SCIM 2.0 Adapter on SAP BTP2026-10-27T07:07:47.691000+01:00Sahil_Sachdevahttps://community.sap.com/t5/user/viewprofilepage/user-id/128140<H2 id="toc-hId-1845145884"><SPAN>Introduction</SPAN></H2><P><SPAN>Recently, I was working on an identity provisioning requirement where we needed to integrate Okta with SAP Cloud Identity Services (CIS).</SPAN></P><P><SPAN>The idea was simple: Okta would be the source of users and groups, and SAP Identity Provisioning (IPS) would take care of provisioning those identities into SAP Cloud Identity Services.</SPAN></P><P><SPAN>However, during the initial analysis, we came across an authentication challenge.</SPAN></P><P><SPAN>The Okta environment was configured to use OAuth 2.0 with </SPAN><CODE><SPAN>private_key_jwt</SPAN></CODE><SPAN> authentication for accessing its Management APIs. We needed a way for SAP IPS to retrieve users and groups while supporting this authentication mechanism.</SPAN></P><P><SPAN>After exploring the available options, I decided to build a small adapter using Node.js and host it on SAP BTP Cloud Foundry.</SPAN></P><P><SPAN>The approach worked, and I thought it would be useful to share how I built it, the architecture behind it, and a few things I learned along the way.</SPAN></P><H2 id="toc-hId-1648632379"><SPAN>1. Why Did I Need a Custom Connector?</SPAN></H2><P><SPAN>SAP Cloud Identity Services provides various options for integrating identity sources and target systems.</SPAN></P><P><SPAN>For this particular requirement, we wanted to use a generic SCIM 2.0 source in IPS.</SPAN></P><P><SPAN>The challenge was that Okta's native Management APIs use a different API structure, and our authentication requirement involved OAuth 2.0 with a signed JWT client assertion.</SPAN></P><P><SPAN>I wanted to avoid using long-lived Okta API tokens and keep the authentication mechanism aligned with the existing security requirements.</SPAN></P><P><SPAN>So, instead of trying to make IPS communicate directly with the Okta Management APIs, I introduced a small integration layer.</SPAN></P><P><SPAN>The idea was to let IPS communicate with a standard SCIM 2.0 endpoint while the adapter handled everything specific to Okta.</SPAN></P><P><SPAN>This meant I could manage authentication, API calls, and data transformations in one place without making the IPS configuration overly complicated.</SPAN></P><H2 id="toc-hId-1452118874"><SPAN>2. How the Integration Works</SPAN></H2><P><SPAN>The overall architecture is fairly straightforward.</SPAN></P><P> </P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sahil_Sachdeva_0-1792733473800.png" style="width: 605px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/472196i53E7E38FA7E15233/image-dimensions/605x340/is-moderation-mode/true?v=v2" width="605" height="340" role="button" title="Sahil_Sachdeva_0-1792733473800.png" alt="Sahil_Sachdeva_0-1792733473800.png" /></span></P><P><SPAN>Here's what happens when IPS runs a provisioning job:</SPAN></P><OL><LI><P><SPAN>IPS sends a request to the SCIM endpoint hosted on SAP BTP.</SPAN></P></LI><LI><P><SPAN>The Node.js application authenticates the incoming request.</SPAN></P></LI><LI><P><SPAN>The adapter obtains an OAuth access token from Okta if needed.</SPAN></P></LI><LI><P><SPAN>It calls the Okta APIs to retrieve users or groups.</SPAN></P></LI><LI><P><SPAN>The retrieved data is converted into SCIM 2.0 format.</SPAN></P></LI><LI><P><SPAN>IPS receives the response and continues with its standard provisioning process.</SPAN></P></LI></OL><P><SPAN>One thing I liked about this design was that IPS didn't need to know anything about Okta's authentication mechanism.</SPAN></P><P><SPAN>As far as IPS was concerned, it was communicating with a SCIM-compatible source.</SPAN></P><H2 id="toc-hId-1255605369"><SPAN>3. Setting Up Authentication with Okta</SPAN></H2><P><SPAN>This was probably the most interesting part of the implementation.</SPAN></P><P><SPAN>For the Okta connection, I used OAuth 2.0 client credentials with </SPAN><CODE><SPAN>private_key_jwt</SPAN></CODE><SPAN> authentication.</SPAN></P><P><SPAN>Instead of passing a client secret, the application creates a JWT assertion signed with an RSA private key.</SPAN></P><P><SPAN>Okta validates the assertion and issues an access token, which the adapter then uses to access the Management APIs.</SPAN></P><P><SPAN>For this integration, the required scopes were:</SPAN></P><PRE><CODE><SPAN>okta.users.read
okta.groups.read</SPAN></CODE></PRE><P><SPAN>The token request goes to:</SPAN></P><PRE><CODE><SPAN>POST https://{okta-domain}/oauth2/v1/token</SPAN></CODE></PRE><P><SPAN>With parameters similar to:</SPAN></P><PRE><CODE><SPAN>grant_type=client_credentials
scope=okta.users.read okta.groups.read
client_assertion_type=
urn:ietf:params:oauth:client-assertion-type:jwt-bearer
client_assertion=<signed_jwt></SPAN></CODE></PRE><P><SPAN>The Okta service application also needs the appropriate administrative permissions to read the required identity resources.</SPAN></P><P><SPAN>Once the access token is available, the application can call the Okta APIs.</SPAN></P><P><SPAN>For example, to retrieve users:</SPAN></P><PRE><CODE><SPAN>GET https://{okta-domain}/api/v1/users
Authorization: Bearer <access_token></SPAN></CODE></PRE><P><SPAN>And for groups:</SPAN></P><PRE><CODE><SPAN>GET https://{okta-domain}/api/v1/groups
Authorization: Bearer <access_token></SPAN></CODE></PRE><P><SPAN>I kept the Okta authentication logic inside the Node.js application. This way, IPS only needs its own credentials to access the SCIM service.</SPAN></P><P><SPAN>It also makes troubleshooting easier because the Okta authentication and IPS authentication can be checked independently.</SPAN></P><H2 id="toc-hId-1059091864"><SPAN>4. Building the SCIM Adapter with Node.js</SPAN></H2><P><SPAN>For development, I used Node.js with Express.</SPAN></P><P><SPAN>The application essentially acts as a translator between Okta's Management APIs and the SCIM 2.0 interface expected by IPS.</SPAN></P><P><SPAN>The main endpoints are:</SPAN></P><PRE><CODE><SPAN>GET /scim/v2/Users
GET /scim/v2/Groups
GET /scim/v2/Users/{id}
GET /scim/v2/Groups/{id}</SPAN></CODE></PRE><P><SPAN>I also considered standard SCIM discovery endpoints, which allow clients to understand the capabilities and schemas supported by a SCIM service.</SPAN></P><H3 id="toc-hId-991661078"><SPAN>Mapping Okta Users to SCIM</SPAN></H3><P><SPAN>Okta returns user information in its own JSON structure.</SPAN></P><P><SPAN>For example:</SPAN></P><PRE><CODE><SPAN>{
"id": "00u123456",
"status": "ACTIVE",
"profile": {
"login": "john.doe@example.com",
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com"
}
}</SPAN></CODE></PRE><P><SPAN>But IPS expects the response to follow the SCIM schema.</SPAN></P><P><SPAN>So, the adapter maps the Okta attributes into something like this:</SPAN></P><PRE><CODE><SPAN>{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"id": "00u123456",
"userName": "john.doe@example.com",
"active": true,
"name": {
"givenName": "John",
"familyName": "Doe"
},
"emails": [
{
"value": "john.doe@example.com",
"primary": true
}
]
}</SPAN></CODE></PRE><P><SPAN>These are sample payloads to illustrate the mapping.</SPAN></P><P><SPAN>The same concept applies to groups, where the adapter maps Okta group information and memberships into the corresponding SCIM attributes.</SPAN></P><P><SPAN>Another thing to consider is pagination.</SPAN></P><P><SPAN>Okta uses cursor-based pagination for its APIs, whereas SCIM commonly uses </SPAN><CODE><SPAN>startIndex</SPAN></CODE><SPAN> and </SPAN><CODE><SPAN>count</SPAN></CODE><SPAN>.</SPAN></P><P><SPAN>For example:</SPAN></P><PRE><CODE><SPAN>GET /scim/v2/Users?startIndex=1&count=100</SPAN></CODE></PRE><P><SPAN>The adapter needs to handle this difference so that IPS can retrieve the required records correctly.</SPAN></P><P><SPAN>For larger environments, pagination becomes particularly important, along with filtering, error handling, and API rate limits.</SPAN></P><H2 id="toc-hId-666064854"><SPAN>5. Deploying the Application on SAP BTP Cloud Foundry</SPAN></H2><P><SPAN>Once the basic adapter was ready, the next step was to deploy it.</SPAN></P><P><SPAN>Since I was already working in the SAP BTP ecosystem, Cloud Foundry was a natural choice.</SPAN></P><P><SPAN>There was no need to provision a separate server or introduce additional infrastructure.</SPAN></P><P><SPAN>I used a standard Node.js application structure with a Cloud Foundry manifest.</SPAN></P><P><SPAN>An example </SPAN><CODE><SPAN>manifest.yml</SPAN></CODE><SPAN> looks like this:</SPAN></P><PRE><CODE><SPAN>applications:
- name: okta-cis-scim-adapter
memory: 256M
disk_quota: 512M
buildpacks:
- nodejs_buildpack</SPAN></CODE></PRE><P><SPAN>Deployment was done using the Cloud Foundry CLI:</SPAN></P><PRE><CODE><SPAN>cf login
cf target -o <org> -s <space>
cf push</SPAN></CODE></PRE><P><SPAN>After deployment, the application was accessible through its Cloud Foundry route.</SPAN></P><P><SPAN>The Okta domain, OAuth client ID, signing key and other configuration values are supplied to the application through environment-specific configuration.</SPAN></P><P><SPAN>For production, I would recommend using a secure secrets-management approach instead of storing private keys or credentials directly in source code.</SPAN></P><H2 id="toc-hId-469551349"><SPAN>6. Connecting SAP Identity Provisioning to the Adapter</SPAN></H2><P><SPAN>With the application running on BTP, I moved to the SAP Cloud Identity Services side.</SPAN></P><P><SPAN>I created a source system in SAP Identity Provisioning using the generic SCIM system connector.</SPAN></P><P><SPAN>The important part was configuring the source to point to the Cloud Foundry application instead of the Okta API.</SPAN></P><P><SPAN>An example configuration is shown below:</SPAN></P><P>Property Value</P><TABLE><TBODY><TR><TD><SPAN>Source System</SPAN></TD><TD><SPAN>SCIM System</SPAN></TD></TR><TR><TD><SPAN>URL</SPAN></TD><TD><CODE><SPAN>https://<btp-app-route>/scim/v2</SPAN></CODE></TD></TR><TR><TD><SPAN>Authentication</SPAN></TD><TD><SPAN>BasicAuthentication</SPAN></TD></TR><TR><TD><SPAN>Proxy Type</SPAN></TD><TD><SPAN>Internet</SPAN></TD></TR><TR><TD><SPAN>Resources</SPAN></TD><TD><SPAN>Users and Groups</SPAN></TD></TR></TBODY></TABLE><P><SPAN>The adapter was configured to accept authenticated SCIM requests, and the corresponding credentials were maintained in IPS.</SPAN></P><P><SPAN>From there, IPS could call the adapter, retrieve the SCIM-formatted identity data, and process it using the configured transformations and target system.</SPAN></P><P><SPAN>The advantage here was that the provisioning logic remained within IPS, while the adapter took care of communicating with Okta.</SPAN></P><H2 id="toc-hId-273037844"><SPAN>7. A Small Issue I Faced During Testing</SPAN></H2><P><SPAN>Of course, the first test didn't go entirely as planned.</SPAN></P><P><SPAN>When I initially tested the connection from IPS, I received an HTTP 401 error.</SPAN></P><P><SPAN>The request was reaching the application, but the adapter was rejecting it.</SPAN></P><P><SPAN>Initially, I was checking the Okta OAuth configuration, but the issue turned out to be on the incoming SCIM authentication side.</SPAN></P><P><SPAN>After reviewing the Basic Authentication configuration and correcting the credentials, the connection worked.</SPAN></P><P><SPAN>This was a useful reminder that there are two different authentication layers in this setup:</SPAN></P><P><STRONG><SPAN>IPS to the SCIM adapter:</SPAN></STRONG><SPAN> Basic Authentication over HTTPS.</SPAN></P><P><STRONG><SPAN>SCIM adapter to Okta:</SPAN></STRONG><SPAN> OAuth 2.0 with </SPAN><CODE><SPAN>private_key_jwt</SPAN></CODE><SPAN>.</SPAN></P><P><SPAN>Once the first connection was working, I was able to validate that IPS could communicate with the deployed adapter.</SPAN></P><P><SPAN>The next important areas for testing in a production deployment are user and group mapping, pagination, membership handling, full provisioning runs, and retry behaviour.</SPAN></P><H2 id="toc-hId-76524339"><SPAN>8. What I Liked About This Approach</SPAN></H2><P><SPAN>Looking back, there are a few reasons why I think this architecture makes sense.</SPAN></P><P><SPAN>First, it keeps the integration relatively simple. The adapter does one job: expose identity information from Okta through a standard SCIM interface.</SPAN></P><P><SPAN>Second, the authentication logic remains independent. If something changes in Okta's authentication requirements, the changes can be handled within the adapter without necessarily redesigning the IPS source.</SPAN></P><P><SPAN>Third, it's reusable. Although I built it for Okta, the same pattern could be used with another identity provider that exposes its own APIs.</SPAN></P><P><SPAN>And finally, SAP BTP Cloud Foundry makes it easy to host this kind of lightweight integration application alongside the rest of the SAP landscape.</SPAN></P><P><SPAN>That said, introducing a custom component also means taking responsibility for its maintenance, security, monitoring, and API compatibility. It's worth evaluating the available standard integration options before choosing a custom adapter.</SPAN></P><H2 id="toc-hId-227265191"><SPAN>9. A Few Takeaways</SPAN></H2><P><SPAN>This was an interesting implementation because it involved more than just configuring an identity connector.</SPAN></P><P><SPAN>I had to work across Okta authentication, REST APIs, Node.js, SCIM 2.0, SAP BTP Cloud Foundry, and SAP Identity Provisioning.</SPAN></P><P><SPAN>A few things stood out:</SPAN></P><UL><LI><P><SPAN>Understanding the authentication flow before starting the integration saves time later.</SPAN></P></LI><LI><P><SPAN>Keeping authentication and data transformation separate makes the solution easier to troubleshoot.</SPAN></P></LI><LI><P><SPAN>SCIM 2.0 is a useful standard for reducing dependencies on provider-specific APIs.</SPAN></P></LI><LI><P><SPAN>Pagination and group membership mapping deserve attention from the beginning.</SPAN></P></LI><LI><P><SPAN>SAP BTP can be a practical platform for building small extensions when standard integration options don't fully match a requirement.</SPAN></P></LI></UL><H2 id="toc-hId-30751686"><SPAN>Source Code – GitHub Repository</SPAN></H2><P><SPAN>I've also made the connector's implementation available on GitHub for anyone interested in exploring the approach or building something similar.</SPAN></P><P><SPAN>The repository includes the Node.js SCIM adapter, Okta OAuth authentication handling, and SAP BTP Cloud Foundry deployment configuration.</SPAN></P><P><STRONG><SPAN>GitHub Repository:</SPAN></STRONG> <A href="https://github.com/sahil-sachdev/okta-scim-connector-for-cis" target="_blank" rel="noopener nofollow noreferrer"><SPAN>Custom Okta SCIM Adapter for SAP Cloud Identity Services</SPAN></A></P><P><SPAN>Feel free to explore the implementation, suggest improvements, or contribute.</SPAN></P><H2 id="toc-hId--165761819"><SPAN>Conclusion</SPAN></H2><P><SPAN>What started as an Okta-to-SAP identity provisioning requirement eventually turned into a small but useful integration project.</SPAN></P><P><SPAN>By building a Node.js-based SCIM adapter and deploying it on SAP BTP Cloud Foundry, I was able to bridge the authentication and API differences between Okta and SAP Identity Provisioning.</SPAN></P><P><SPAN>The adapter is not intended to replace standard SAP identity connectors. It's an additional option for scenarios where specific authentication or API requirements call for a custom integration layer.</SPAN></P><P><SPAN>I wanted to share this experience because similar challenges can come up when integrating SAP Cloud Identity Services with different enterprise identity platforms.</SPAN></P><P><SPAN>Hopefully, this provides a useful starting point for anyone working on something similar.</SPAN></P><P><SPAN>Thanks for reading! Feel free to share your thoughts or experiences with custom identity integrations in the comments.</SPAN></P><DIV> </DIV><P><EM><SPAN>Note: This article describes a custom integration approach. The example configuration and JSON payloads are illustrative and should be validated against the actual implementation before production use.</SPAN></EM></P><P><EM><SPAN>#SAPBTP #SAPCloudIdentityServices #SAPIdentityProvisioning #Okta #SCIM #IdentityManagement #IAM #NodeJS #CloudFoundry #OAuth2 #SAPSecurity #SAPCommunity</SPAN></EM></P><P> </P>2026-10-27T07:07:47.691000+01:00https://community.sap.com/t5/technology-blog-posts-by-sap/q3-2026-quarterly-release-highlights-for-sap-baip-security-and-identity-amp/ba-p/14512470Q3 2026: Quarterly Release Highlights for SAP BAIP Security and Identity & Access Management2026-10-28T16:00:02.412000+01:00RegineSchimmerhttps://community.sap.com/t5/user/viewprofilepage/user-id/8286<P><SPAN>Security is constantly evolving - and so are the ways we protect our SAP landscapes. What’s new in SAP BAIP Security and Identity & Access Management? From new capabilities to valuable enhancements, here’s your quarterly roundup of the latest updates you won’t want to miss.</SPAN></P><P><SPAN>For a complete overview of feature deliveries for SAP Cloud Identity Services, check out our list of all new feature announcements in the <A href="https://help.sap.com/docs/cloud-identity-services/cloud-identity-services/what-s-new-for-identity-authentication" target="_blank" rel="noopener noreferrer">SAP Cloud Identity Services Release Notes</A> on the SAP Help Portal. </SPAN></P><H2 id="toc-hId-1845859066"><SPAN>SAP Cloud Identity Services: Agent identity and IAM for SAP Joule</SPAN></H2><P><SPAN><A href="https://help.sap.com/docs/cloud-identity-services/cloud-identity-services/agents?version=Cloud&ai=true" target="_blank" rel="noopener noreferrer">Agent identity</A> represents AI and automation agents in SAP Cloud Identity Services. Agents can authenticate, receive authorization, and be managed like human users while retaining agent-specific capabilities and security controls. You can find detailed information for administrators on the <A href="https://help.sap.com/docs/cloud-identity-services/cloud-identity-services/managing-agents?version=Cloud&ai=true" target="_blank" rel="noopener noreferrer">SAP Help Portal</A>. </SPAN></P><P><SPAN>We also released the <A href="https://help.sap.com/docs/cloud-identity-services/cloud-identity-services/identity-and-access-management-for-joule?version=Cloud&ai=true" target="_blank" rel="noopener noreferrer">identity and access management architecture</A> required for SAP Joule, including the requirement for a single SAP Cloud Identity Services tenant, SAP-managed provisioning, and global user ID assignment. Understand this foundation before you implement Joule to ensure consistent authentication and authorization across all connected SAP applications.</SPAN></P><H2 id="toc-hId-1649345561"><SPAN>SAP Cloud Identity Services: SAP-managed SAP Cloud Identity</SPAN></H2><P><SPAN>SAP Cloud Identity Services support both SAP-managed and customer-managed integration models, depending on who is responsible for maintaining and operating the tenant, application and provisioning configurations.</SPAN></P><P><SPAN><A href="https://help.sap.com/docs/cloud-identity-services/cloud-identity-services/sap-managed-sap-cloud-identity?version=Cloud&ai=true" target="_blank" rel="noopener noreferrer">SAP-managed</A> refers to a delivery approach in which SAP is responsible for key technical and operational aspects of the solution. This approach reduces complexity for you and provides a consistent, best-practice experience. SAP manages the software lifecycle, including provisioning, technical integration, monitoring, automatic updates, backups, and offboarding. Customer-managed refers to a delivery approach in which you are responsible for configuring and maintaining your tenants according to your business requirements. This approach allows you to adapt features and functionality to your specific needs.</SPAN></P><H2 id="toc-hId-1452832056"><SPAN>Identity and access management for SAP BAIP</SPAN></H2><P><SPAN>You can now safely switch an OIDC trust configuration of a BAIP subaccount to another SAP Cloud Identity Services tenant without losing user data, such as authorizations or user-related data in subscribed applications.</SPAN></P><P><SPAN>For more information, see SAP Note <A href="https://me.sap.com/notes/3468982" target="_blank" rel="noopener noreferrer">3468982</A>.</SPAN></P><H2 id="toc-hId-1256318551"><SPAN>SAP Key Management Service: General availability</SPAN></H2><P><SPAN>SAP Key Management Service (SAP KMS) is now generally available to all SAP customers. It enables the use of customer-managed keys to protect data at rest across SAP cloud products and the SAP Business AI Platform. With consistent key governance and enhanced auditability, SAP KMS helps organizations meet compliance and regulatory requirements while maintaining control over their business data in SAP cloud landscapes.</SPAN></P><P><SPAN>For more information, please check our <A href="https://www.sap.com/products/financial-management/key-management-service.html" target="_blank" rel="noopener noreferrer">product overview</A> and the <A href="https://help.sap.com/docs/SAP_Key_Management_Service/b553377444b348789f63437ed18cb789/fe3d07c535414dbf90bc69f324a5f35e.html?locale=en-US&ai=true" target="_blank" rel="noopener noreferrer">SAP Help Portal</A>. </SPAN></P><H2 id="toc-hId-1059805046"><SPAN>SAP Secure Login Service for SAP GUI: Quantum-safe cryptography</SPAN></H2><P><SPAN>We now support <A href="https://roadmaps.sap.com/board?PRODUCT=AF740456A03F1EDDAA9212F748EDC3E2&range=FIRST-LAST#;INNO=000D3ABE796A1FD0B2DB35599648A0EB" target="_blank" rel="noopener noreferrer">quantum-safe cryptography</A> for the communication protocol between SAP GUI and SAP NetWeaver Application Server for ABAP. We have extended the Secure Login Client to integrate quantum-safe cryptography into authentication protocols, and we have enhanced the SAP Cryptographic Library to support quantum-safe authentication for the Secure Network Communications protocol. This helps protect communication channels between SAP GUI desktop clients and SAP NetWeaver Application Server for ABAP. It also prevents quantum computer-based harvest-now-decrypt-later attacks on SAP GUI communications using advanced security measures and ensures long-term communication security by adopting state-of-the-art cryptographic protocols.</SPAN></P><P><SPAN>For more information on the SAP Secure Login Service for SAP GUI, check the <A href="https://help.sap.com/docs/SAP%20SECURE%20LOGIN%20SERVICE/c35917ca71e941c5a97a11d2c55dcacd/28d654c4459d4693bbf34e5103867f97.html?version=Cloud" target="_blank" rel="noopener noreferrer">SAP Help Portal</A>. </SPAN></P><H2 id="toc-hId-863291541"><SPAN>Stay in the loop</SPAN></H2><P><SPAN>Join the <A href="https://pages.community.sap.com/topics/Business-AI-Platform-security" target="_blank" rel="noopener noreferrer">SAP Business AI Platform Security</A> and <A href="https://pages.community.sap.com/topics/cloud-identity-services" target="_blank" rel="noopener noreferrer">SAP Cloud Identity Services</A> communities to get updates, share feedback, and connect with others! </SPAN></P>2026-10-28T16:00:02.412000+01:00https://community.sap.com/t5/technology-blog-posts-by-sap/from-knowing-to-doing-acting-on-your-side-of-the-sap-btp-shared/ba-p/14514789From Knowing to Doing: Acting on Your Side of the SAP BTP Shared Responsibility Model2026-11-02T12:46:16.552000+01:00AnisaTuscanohttps://community.sap.com/t5/user/viewprofilepage/user-id/2003264<P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAP BTP Security Recommendations banner.jpg" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/474947i8D66963AFA93A4FA/image-size/large/is-moderation-mode/true?v=v2&px=999" role="button" title="SAP BTP Security Recommendations banner.jpg" alt="SAP BTP Security Recommendations banner.jpg" /></span></P><P>In my previous blog, <A href="https://community.sap.com/t5/technology-blog-posts-by-sap/understanding-the-shared-responsibility-model-on-sap-btp-who-owns-what/ba-p/14506648" target="_blank"><STRONG>Understanding the Shared Responsibility Model on SAP BTP: Who Owns What?</STRONG></A>, I walked through the fundamental principle that governs cloud security on SAP BTP: SAP secures the platform, but you - the customer - own everything you build and configure on top of it. Identity management, role assignments, secure configuration, audit logging, application security: that's your side of the line.</P><P>But understanding who owns what is only half the equation. The harder question is: once you know it's your responsibility, where do you start? This blog answers that question.</P><H3 id="toc-hId-1975004290"><STRONG>What the SAP BTP Security Recommendations Actually Are</STRONG></H3><P>Think of this page as the operational counterpart to the Shared Responsibility Model. Where the shared responsibility model tells you <EM>what</EM> you own, the Security Recommendations tell you <EM>how</EM> to secure what you own - one service, one configuration setting, one control at a time.</P><P>It is a continuously maintained, structured table with a recommendation for each BTP service component in scope. Each row contains:</P><P> </P><TABLE><TBODY><TR><TD><P><STRONG>Field</STRONG></P></TD><TD><P><STRONG>What It Tells You</STRONG></P></TD></TR><TR><TD><P><STRONG>Component</STRONG></P></TD><TD><P>The BTP service the recommendation applies to</P></TD></TR><TR><TD><P><STRONG>Priority</STRONG></P></TD><TD><P><EM>Critical</EM> (address immediately) or <EM>Recommended</EM> (significantly reduces attack surface)</P></TD></TR><TR><TD><P><STRONG>Secure Operations Map</STRONG></P></TD><TD><P>The security domain it falls under (Authentication & SSO, Data Protection, Network Security, etc.)</P></TD></TR><TR><TD><P><STRONG>Default Setting or Behavior</STRONG></P></TD><TD><P>What SAP ships out of the box - often a sensible default for trial, not for production</P></TD></TR><TR><TD><P><STRONG>Recommendation</STRONG></P></TD><TD><P>The specific hardened configuration you should apply</P></TD></TR><TR><TD><P><STRONG>Index</STRONG></P></TD><TD><P>A unique identifier (e.g., BTP-IAS-0001) for tracking in your compliance tooling</P></TD></TR></TBODY></TABLE><P>That Index field is more important than it looks. It makes these recommendations traceable - you can reference them in risk registers, remediation plans, and SAP Cloud ALM without ambiguity. More on that below.</P><H3 id="toc-hId-1778490785"><STRONG>Priority Areas: Where the Risk Is Highest</STRONG></H3><P> </P><P><STRONG>1. Identity Authentication Service (IAS): Your Front Door</STRONG></P><P>The Identity Authentication service is the gateway to your entire BTP landscape. It also carries the highest concentration of Critical priority recommendations - which tells you something about how much exposure the wrong configuration creates here.</P><P><STRONG>What to act on first:</STRONG></P><UL><LI><STRONG>Protect the administration console with MFA. </STRONG>The default authentication method is username and password - a configuration that is unacceptable for any productive environment. Multifactor authentication must be enforced for all administrator access.</LI><LI><STRONG>Disable self-registration and social sign-on. </STRONG>Unless there is an explicit business case, both should remain disabled to prevent unauthorized account creation and reduce the attack surface on your tenant.</LI><LI><STRONG>Manage obsolete administrators. </STRONG>Dormant accounts with admin privileges are a persistent risk. Regular reviews and automated offboarding are essential.</LI><LI><STRONG>Define and enforce a custom password policy. </STRONG>Relying on default password policies is a compliance gap in most regulatory frameworks.</LI><LI><STRONG>Connect to your corporate identity provider via IAS as a proxy. </STRONG>SAP strongly recommends that IAS acts as the single IdP for BTP, with your corporate IdP connected through it - not directly trusted. This ensures consistent policy enforcement and simplifies governance across multi-IdP landscapes.</LI><LI><STRONG>Enable and regularly review audit logs.</STRONG> The Audit Log Viewer service must be subscribed to and actively monitored. Without it, you have no record of administrative changes or authentication events in your IAS tenant.</LI></UL><P><STRONG>2. Authorization and Trust Management : The Privilege Layer </STRONG></P><P>Once a user is authenticated, Authorization and Trust Management governs what they are allowed to do. The security recommendations for this service are focused on reducing privilege and maintaining integrity of your authorization model over time.</P><P><STRONG> </STRONG><STRONG>Key actions:</STRONG></P><UL><LI><STRONG>Use custom identity providers.</STRONG> Avoid over-reliance on the default SAP ID service (accounts.sap.com) in productive landscapes. Custom IdPs give you greater control over user lifecycle, policy enforcement, and integration with your corporate directory.</LI><LI><STRONG>Synchronize user data via an identity provisioning service.</STRONG> Manual user management does not scale and introduces inconsistency. Identity Provisioning automates the lifecycle of identities across your connected systems.</LI><LI><STRONG>Control token validity and signing key rotation.</STRONG> Long-lived access tokens and stale signing keys are attacking surface. Define explicit validity periods and establish a rotation schedule for signing keys.</LI><LI><STRONG>Review role collection assignments regularly.</STRONG> Role collections with broad access should be subject to periodic access reviews. Define a least-privilege principle at design time and enforce it operationally. Broad platform roles assigned to large groups of users is a common finding - and a common risk.</LI><LI><STRONG>Monitor and restrict REST API access.</STRONG> Authorization and Trust Management exposes APIs for managing trust and authorization. Access to these APIs should be explicitly scoped and monitored.</LI></UL><P><STRONG>3. Connectivity and the Cloud Connector : The On-Premises Bridge </STRONG></P><P>The Cloud Connector occupies a uniquely sensitive position in any hybrid SAP BTP landscape. It is the component that creates a tunnel between your on-premises systems and the cloud - and it sits physically on your infrastructure, which means it also falls under your side of the shared responsibility line.</P><P><STRONG>What SAP's recommendations require:</STRONG></P><UL><LI><STRONG>Restrict OS-level access.</STRONG> This is a Critical recommendation. The server or virtual machine hosting the Cloud Connector should be accessible only to the specific administrators responsible for managing it. Broad OS access in a shared server environment is a direct path to credential theft or service manipulation.</LI><LI><STRONG>Enforce strong password policies on the Cloud Connector itself.</STRONG> The Cloud Connector has its own administration interface with its own credentials. These must not be left at default values.</LI><LI><STRONG>Enable audit logging on the Cloud Connector.</STRONG> Log all administrative actions and access requests. This is foundational for forensic investigation and compliance.</LI><LI><STRONG>Restrict the list of trusted BTP subaccounts.</STRONG> Only subaccounts that have a documented, approved need for on-premises connectivity should be trusted by the Cloud Connector. Over-permissive trust configurations are one of the most common findings in BTP security reviews, and one of the easiest to overlook because the default tends toward convenience.</LI><LI><STRONG>Always use HTTPS for all connection and destination configurations.</STRONG> Insecure protocols in Destination configuration or Identity Provisioning connections have no place in a productive environment. Never disable certificate validation - the Trust All setting exists to solve connectivity issues in development; it must never reach production.</LI><LI><STRONG>Apply TLS certificate lifecycle management.</STRONG> Define explicit processes for certificate renewal, rotation, and revocation. An expired certificate on a critical connectivity path is an availability risk as well as a security risk.</LI></UL><P><STRONG>4. Application Security : Built It In, Don't Bolt It On</STRONG></P><P>For organizations building custom applications on BTP, the security recommendations reinforce a principle that experienced developers know but delivery timelines frequently compromise.</P><P><STRONG>Practical guidance:</STRONG></P><UL><LI>Use BTP's native security features - including protection from common web attacks - as the baseline, not an afterthought.</LI><LI>Configure application-based security artifacts (roles, scopes, and authorizations) as part of the development lifecycle and assign them through the cockpit rather than ad hoc.</LI><LI>Secure all APIs and interfaces explicitly, including OAuth 2.0 protected resources and principal propagation scenarios.</LI></UL><H3 id="toc-hId-1581977280"> </H3><H3 id="toc-hId-1385463775"><STRONG>A Practical Starting Point</STRONG></H3><P>If you are looking at this list and wondering where to begin, here is a prioritized approach:</P><OL><LI><STRONG>Start with Critical items only.</STRONG> Filter the recommendations table for <EM>Priority = Critical</EM> and treat these as your mandatory baseline - not optional hardening. These are the gaps with the highest likelihood and highest impact of exploitation.</LI><LI><STRONG>Assign ownership.</STRONG> Each recommendation touches a specific BTP service and a specific operational team. Accountability must be assigned before remediation can begin.</LI><LI><STRONG>Use the Index for traceability.</STRONG> Reference the BTP-XXX-XXXX identifiers in your risk register and remediation tracking. This creates a clean audit trail and avoids ambiguity when different teams work on findings independently.</LI><LI><STRONG>Schedule quarterly reviews.</STRONG> SAP updates this page regularly as new services and new risk findings emerge. A static, one-time review is not sufficient. Build this into your security governance calendar.</LI><LI><STRONG>Connect it to Cloud ALM.</STRONG> If you are operating at scale, implement the Cloud ALM integration to shift from periodic checks to continuous monitoring.</LI></OL><H3 id="toc-hId-1188950270"><STRONG><span class="lia-unicode-emoji" title=":bookmark:">🔖</span>Further Reading:</STRONG></H3><UL><LI><A href="https://community.sap.com/t5/technology-blog-posts-by-sap/understanding-the-shared-responsibility-model-on-sap-btp-who-owns-what/ba-p/14506648" target="_blank">Understanding the Shared Responsibility Model on SAP BTP: Who Owns What?</A> <EM>(previous blog in this series)</EM></LI><LI><A href="https://help.sap.com/docs/btp/sap-btp-security-recommendations-c8a9bb59fe624f0981efa0eff2497d7d/sap-btp-security-recommendations" target="_blank" rel="noopener noreferrer">SAP BTP Security Recommendations – SAP Help Portal</A></LI><LI><A href="https://community.sap.com/t5/technology-blog-posts-by-sap/explore-sap-btp-security-recommendations-a-hands-on-guide/ba-p/13578519" target="_blank">Explore SAP BTP Security Recommendations: A Hands-On Guide – SAP Community</A></LI><LI><A href="https://help.sap.com/docs/btp/sap-btp-security-recommendations-c8a9bb59fe624f0981efa0eff2497d7d/monitor-security-recommendations-with-sap-cloud-alm" target="_blank" rel="noopener noreferrer">Monitor Security Recommendations with SAP Cloud ALM</A></LI><LI><A href="https://help.sap.com/docs/btp/best-practices/setting-up-authentication" target="_blank" rel="noopener noreferrer">Setting Up Authentication – SAP BTP Best Practices Guide</A></LI></UL><H3 id="toc-hId--66227154" id="toc-hId-992436765"><STRONG><span class="lia-unicode-emoji" title=":link:">🔗</span>Stay connected </STRONG></H3><P>Want to stay up to date on our services? Join our <A href="https://community.sap.com/t5/sap-cloud-alm-cross-solution-topics-value-map/gh-p/alm-cross-vm" target="_blank">SAP Cloud ALM & Cross-Solution Topics</A> community! </P><P> </P>2026-11-02T12:46:16.552000+01:00