Every interface is a conversation between two systems that have never met a person. Each one has to prove who it is, and the other has to decide whether to believe it. Integration security is the set of choices that make those proofs strong, keep them working, and keep the data safe on the way.
Four questions cover most of it:
How does each system prove who it is? A password, an OAuth token, a certificate, or the signed-in person's identity passed along. Passwords are the weakest and the most common.
Who owns each certificate and key, and when does it expire? Certificates run out on a fixed date. When one does, every interface that relies on it stops at once, often on a weekend.
Is the data protected only in transit, or also at rest between hops? Encryption on the wire (TLS) ends at every server it passes through. Bank statements and payroll files need the content itself signed and encrypted.
Where do the secrets live? A password typed into an integration flow, a proxy policy or a configuration file on a plant PC is a password many people can read.
The decision for a leader: keep one register of every connection with its owner, its proof method and its expiry dates, and fund the person who keeps it current. This topic uses the course's fictional company, Calder Pumpworks, and eleven of its connections.
Integration security fails in two ways: an outage nobody planned, and a breach nobody noticed. Using Calder (all values are course values):
The certificate nobody watched. Tessaly, a distributor, sends orders over AS2 with a certificate that expires on 15 December. Nobody gets an alert. On the 15th, orders stop flowing, and the first sign is a customer asking where the confirmation is.
SAP's yearly key change. Calder's integration tenant signs messages with a key SAP renews every year. SAP prepares the new key 60 days ahead and switches it on by itself one day before the old one expires (SAP documentation). If Hallam and Tessaly don't have the new certificate by then, they reject Calder's signed messages.
One password, two partners. The EDI provider and a freight carrier log on to Calder's integration tenant with the same user. When the carrier's laptop is stolen, both connections must be shut down and reset together.
The changed amount. A bank statement sits on an SFTP server between hops. Transfer encryption protected it on the wire, not on the disk. One changed digit raises cash by 33,994.71 USD in Calder's books, and nothing checks it.
The agent that sees everything. A Copilot Studio agent reads sales orders with one shared key. SAP logs every call as the same technical user, so a sales rep can read distributor orders their own roles would refuse, and the audit log can't say who did.
The cost of getting this right is mostly discipline: a register, an owner per line, an alert per certificate, and a rule that passwords are the exception.
As of November 2026, these SAP pieces carry integration security. Each is linked to the SAP page it comes from.
SAP Integration Suite, Cloud Integration offers per-adapter authentication. For incoming HTTPS, IDoc, AS2 and AS4 calls, SAP lists client certificates and OAuth with the client credentials grant as recommended, and basic authentication as a fallback (SAP documentation). It supports TLS 1.2 and 1.3 in both directions (SAP documentation).
The tenant keystore holds certificates and key pairs, and security material holds passwords, OAuth clients, PGP keys and SSH known hosts, referenced from flows by name (SAP documentation).
Message-level security steps sign, verify, encrypt and decrypt content with PGP, PKCS#7/CMS, XML Signature or WS-Security (SAP documentation).
SAP Cloud ALM health monitoring tracks certificate validity across all Cloud Integration tenants and can alert by email, chat or ticket (SAP documentation).
The Cloud Connector links BTP to systems inside your network. The route to the cloud is always TLS-encrypted, and the route to the back end can be TLS or SNC (SAP documentation). It can also pass the signed-in person's identity to the back end, which the connectivity topic covers.
SAP gives you strong options and sensible defaults. Choosing per connection, keeping the register and renewing on time are yours.
#A decision guide: how should this connection prove who it is?
Situation
Use
Avoid
A trading partner or EDI provider sends messages to Cloud Integration
A client certificate per partner, or OAuth client credentials per partner, each with its own custom role
One shared user with the generic send role
Cloud Integration calls an SAP API on a technical job
OAuth client credentials or a client certificate, stored as security material
A password typed into a header in the flow
An app or agent acts for a signed-in person
Pass the person's identity (principal propagation or an OAuth token exchange) so SAP checks their roles
One technical user or API key for everyone
Files with payments, bank data or personal data
SFTP with keys, plus signed and encrypted content
Plain FTP, or SFTP alone
SAP-to-SAP calls by RFC inside your network
SNC on the connection, with a technical user per caller
Plain RFC with passwords in a config file
A connection retires within months
Accept the gap in writing, with an approver and an end date
"HTTPS makes it secure." TLS protects the transfer between two points. It ends at every load balancer and server on the way, and it says nothing about who is calling or whether the content was changed at rest.
"Certificates are an IT detail." An expired certificate stops orders, payments or shipments at once. It is a business continuity risk with a known date.
"SAP renews its keys, so we don't have to do anything." SAP prepares and activates its own key. Your partners still need the new certificate before the switch, and that is your job.
"A technical user is fine for an agent." For a nightly job, yes. For an agent acting for many people, a shared user hides who did what and gives everyone the agent's rights.
"We'll fix the passwords later." Each password left in a flow or a policy is copied into transports, exports and backups. The longer it stays, the more places it lives.
Authentication: proving who a caller is, with a password, a token, a certificate or a key.
Client certificate (mutual TLS): a certificate the caller presents during the TLS handshake, so both sides prove who they are.
OAuth client credentials: a flow in which a system exchanges its client ID and secret for a short-lived access token, then calls the API with the token.
Principal propagation: passing the signed-in person's identity to the back end, so it checks that person's roles.
Keystore: the store of key pairs and certificates a system uses to prove who it is and to trust others.
Certificate expiry: the fixed date after which a certificate is no longer accepted; renewal must reach every party before then.
Message-level security: signing and encrypting the content itself, so it stays protected and provably unchanged across every hop.
SNC: Secure Network Communications, SAP's way of authenticating and encrypting RFC and SAP GUI connections.
Security material: passwords, OAuth clients, PGP keys and SSH known hosts stored in the integration tenant and referenced by name.
Credential register: a list of every connection with its authentication method, owner, secrets and expiry dates.
Pick one answer for each question. The explanation appears after you choose.
1Why should a leader insist on one register of every integration connection?
Answer: C. Most integration security failures are quiet until they break: an expiry nobody watched, a shared password, a missing owner. A register with owners, methods and dates is how someone acts before that happens.
2Tessaly's AS2 certificate expires on 15 December and nobody is alerted. What happens?
Answer: A. An expired certificate breaks the connection on a fixed date. Without an alert and an owner, the first sign is often a missing order confirmation. SAP renews only its own keys, not a partner's certificate.
3SAP renews its yearly key on Calder's integration tenant. What does Calder still have to do?
Answer: C. SAP prepares the new key 60 days ahead and activates it one day before expiry if nobody does. Partners who verify Calder's signatures need the new certificate first, or they reject Calder's messages.
4The EDI provider and a carrier share one logon to Calder's integration tenant. What is the main risk?
Answer: A. A shared credential widens the damage of a leak and makes rotation a joint project. One credential per partner keeps a leak, and its fix, to that partner.
5Why isn't SFTP enough for Calder's bank statements?
Answer: D. SFTP encrypts the transfer, not the file on the server. A signature on the content shows any change, so a tampered statement is rejected instead of loaded.
6A Copilot Studio agent reads SAP data for many clerks with one shared key. What should change?
Answer: B. With one shared key SAP sees one technical user, so everyone gets its rights and the audit log can't say who acted. Passing the person's identity lets SAP apply each person's own roles.
Draw every interface as a chain of hops. On each hop, one party proves who it is and the other decides whether to trust it. Security is the weakest hop, and it is only as durable as the earliest expiry date on the chain.
Four properties decide each hop:
Proof: how the caller authenticates (password, token, certificate, SSH key, SNC, or the person's identity) and how strong that is.
Trust anchor: what the receiver checks the proof against (a role on a service key, a trusted CA, a known host key), and who owns it.
Lifetime: when the proof stops working (certificate expiry, key rotation, password policy), and who renews it with whom.
Reach: what the proof unlocks if stolen (one partner or several, one API or a whole system), and where the secret is stored.
Transport encryption is a fifth, near-universal property, and it protects only between two points. When content must stay protected and provably unchanged across hops, the content itself needs a signature and encryption. That is message-level security.
SAP's design guideline lists Cloud Integration's methods "roughly ordered from low to high security": none, basic, principal propagation, SASL, OAuth, client certificate, public key (SAP guideline). The ordering explains itself once you ask what an attacker gets:
Method
What travels
What a thief gets
Lifetime
Basic (user, password)
The password on every call
Lasting access until someone changes the password
Password policy
API key
The key on every call
Lasting access, usually without a user behind it
Until rotated
OAuth client credentials
Secret goes only to the token endpoint; calls carry a token
A token valid for minutes, or the secret if the store leaks
Token short, secret rotated
Client certificate (mTLS)
Only the public certificate; the private key never leaves
Nothing usable without the private key
Fixed expiry date
SSH public key
Only a signature; the private key stays home
Nothing without the private key
Until the key is replaced
Principal propagation, token exchange
The person's identity, vouched for by a trusted issuer
Short-lived assertions
Minutes
SAP adds why basic authentication is risky even over TLS: TLS ends at intermediate hops such as load balancers, where a password can surface in logs or monitoring tools, and weak passwords invite brute force and lockouts (SAP documentation). Client certificates usually give the highest security, at the price that they expire and must be rotated (SAP documentation).
The secrets and OAuth topic teaches the OAuth flows with a hands-on token script. This topic uses them as building blocks.
Inbound calls to Cloud Integration are always authenticated (SAP guideline). In the Cloud Foundry environment, a sender's proof lives in a service key of the Process Integration Runtime service with plan integration-flow. The key holds either client credentials or a certificate, SAP-generated or the partner's own. At runtime, Cloud Integration finds the service key that matches the caller and checks that its instance carries the role named in the sender adapter (SAP documentation).
flowchart LR
P[Partner system] -- TLS + client certificate --> LB[SAP load balancer]
LB --> W[Cloud Integration worker]
W -- which service key holds this certificate? --> K[Service key<br/>plan integration-flow]
K -- role on its instance --> R{Role = sender<br/>adapter's User Role?}
R -- yes --> F[Integration flow runs]
R -- no --> X[403]
Two design choices follow:
The role. The standard role is ESBMessaging.send. SAP's guideline says to avoid generic roles for sender authorization and create a custom role per inbound scenario (SAP guideline). With the generic role, any sender's key can call any flow.
One key per partner. If the EDI provider and a carrier share one key, a leak exposes both, and rotation needs both to move at once.
Outbound, the flow's receiver adapter names a credential by alias: a user credential, an OAuth2 client credentials artifact, an OAuth2 SAML bearer assertion artifact, a key pair alias for client certificates, or principal propagation through the Cloud Connector. SAP lists three OAuth grant types for outbound calls: client credentials, SAML bearer assertion and authorization code (SAP documentation).
If the receiver trusts several of the tenant's key pairs, Cloud Integration picks one at random for the TLS handshake. Set Private Key Alias in the adapter so a renewal of one key doesn't surprise you.
Even with basic authentication, the tenant must trust the receiver's root certificate. A receiver that changes its certificate authority breaks the connection unless the new root is in the keystore.
The keystore doesn't check the signatures of certificates you upload; SAP says root certificates in particular must be verified by hand. When you exchange public keys with a partner, use a secure channel or confirm the fingerprint by phone (SAP documentation).
A technical user is right for a job that belongs to no one: the nightly file, the EDI provider's feed. When an app or agent acts for a person, the back end should see that person. The BTP Destination and Connectivity services support this as principal propagation: PrincipalPropagation to on-premise systems through the Cloud Connector, OAuth2SAMLBearerAssertion or OAuth2JWTBearer to cloud systems (SAP documentation). For on-premise systems, the Cloud Connector issues short-lived X.509 certificates for the signed-in user from a CA certificate you install (SAP documentation).
Principal propagation has its own topic in Unit 27: principal propagation end to end, beside identity services and single sign-on. Here the architect's rule is enough: if a hop acts for people, record whose identity reaches SAP, and treat a shared technical user as a finding.
A certificate is a public key with an owner's name, signed by a certificate authority (CA), valid between two dates. Renewing one is a small job that involves people on both sides. SAP's renewal guides make two points that shape every plan (SAP documentation):
The tenant administrator coordinates, because they know every connected system's administrator.
A key pair is usually used in several flows and channels; you need to know them all to plan the renewal.
SAP's own keys. SAP delivers the tenant's key pair with a certificate chain renewed every year, under aliases such as sap_cloudintegrationcertificate (SAP documentation). The sequence:
sequenceDiagram
participant S as SAP
participant T as Tenant administrator
participant P as Partners (Hallam, Tessaly)
S->>T: new key pair in New SAP Keys (60 days before expiry)
T->>T: download new certificate and chain
T->>P: send certificate, agree a date
P->>P: import into their trust store
T->>T: activate the new key
Note over S,T: If nobody activates it, a daily job does,<br/>one day before the old key expires
The steps come from SAP's renewal and activation pages (renewal, activation). The automatic activation keeps the tenant working, but partners who don't have the new certificate will reject what the tenant signs.
Message-level certificates fail silently. SAP notes that the keystore doesn't check expiry in its encryption, decryption and signing steps (SAP documentation). An expired signing key keeps signing at Calder; the break shows up at the partner, or at the auditor. So message-level keys need the same calendar as transport certificates, even though nothing at your end will remind you.
Alerts. Three places can warn you:
Where
What it watches
Source
SAP Cloud ALM health monitoring
Certificate validity across all Cloud Integration tenants
TLS and SFTP protect data only while it moves; once received, it is decrypted and in clear text, and SFTP doesn't protect the file on the server (SAP guideline). Message-level security protects the content itself:
Encryption with the receiver's public key: only the receiver's private key can read it.
Signature with the sender's private key over a hash of the content: anyone with the sender's public key can check it wasn't changed and who wrote it.
Cloud Integration's steps support PGP and PKCS#7/CMS for encryption, PKCS#7/CMS and XML Signature for signing, and WS-Security in the SOAP adapter (SAP documentation). SAP recommends different keys for message level and transport level (SAP documentation).
Use it when content crosses hops you don't control or rests in between: bank files, payroll, documents with personal data, B2B messages (AS2 already signs and encrypts). The partner must support the same standard, so it is a design decision for both sides.
A secret should live in one store built for it and be referenced by name:
Secret for
Store
Not here
Cloud Integration outbound
Security material (user credentials, OAuth artifacts, secure parameters, PGP keyrings, known hosts)
A content modifier header, a Groovy script, an externalized parameter in clear
API Management to a back end
Encrypted key value map
The proxy policy text
BTP apps
Bindings, or SAP Credential Store for third-party secrets
Environment files in Git
Cloud Connector
Its secure storage, on a machine with few OS users
A shared admin password
SAP's guideline adds a quieter leak: anything written to the message processing log is visible in monitoring, and logging all headers can include the Authorization header (SAP guideline). Log by allow list.
The path decides what an attacker can reach. Inbound calls to Cloud Integration always arrive over HTTPS; outbound, an http:// address is possible and SAP advises against it for confidential data (SAP guideline). For systems inside your network, the Cloud Connector opens the tunnel from inside, so no inbound firewall port is needed; the cloud route is always TLS and the back-end route can be TLS or SNC (SAP documentation). For SFTP, the tenant's known hosts file should contain only the servers your flows use and trust (SAP documentation). The connectivity topic covers destinations and the Cloud Connector in depth; Unit 27 covers network security for SAP systems as a whole.
#Build it yourself: review Calder's trust register and plan the renewals
You will run a lab with four parts. Review checks Calder's connections and certificates against twelve course rules. Calendar lists when each certificate renewal must start and whom to tell. Trace shows which user SAP sees on a hop. Simulate shows why the rules exist: certificates expiring with nobody acting, a tampered bank statement, and a leaked shared credential.
flowchart LR
I[--init] --> D[register_draft.json]
I --> V[register_reviewed.json]
D --> R[review: IS01-IS12]
V --> R
D --> C[calendar]
D --> T[trace H08]
D --> S[simulate expiry,<br/>tamper, leak]
Python and your orchestrate-course folder with its .venv, from the setup topic.
No account, no network and no extra libraries. The script uses built-in modules only and has no randomness, so your output matches the samples exactly.
About 40 minutes. Everything is free.
#Step 1: Open the course folder and turn on the virtual environment
Open VS Code, choose File > Open Folder, and open orchestrate-course.
Open a terminal: Terminal > New Terminal.
If the prompt doesn't start with (.venv), turn it on:
Wrote unit26/intsec/register_draft.json
Wrote unit26/intsec/register_reviewed.json
Run the self-test:
python unit26/intsec_lab.py --self-test
14 of 14 self-test checks passed
Open unit26/intsec/register_draft.json in VS Code. Each hop has its proof (auth), the secret's name (credential) and where it is kept (store), its owner, and the certificates it relies on. Each certificate has its expiry date (not_after), who must be told on renewal (partners) and how it is watched (monitored).
H01 EDI provider sends distributor orders to Cloud Integration
FAIL IS04 basic on a path to or from production; use a certificate or OAuth
WARN IS05 generic role ESBMessaging.send; give the sender a custom role
FAIL IS06 credential CPI_INBOUND shared with H11
H02 Cloud Integration creates sales orders in S4P
FAIL IS04 basic on a path to or from production; use a certificate or OAuth
FAIL IS07 secret kept in iflow
FAIL IS12 logs all headers: the Authorization header lands in monitoring
H05 Cloud Integration fetches bank statements by SFTP
FAIL IS04 password on a path to or from production; use a certificate or OAuth
FAIL IS09 payment data, message level: none
H06 S4P report puts open order items for the CRM
FAIL IS02 ftp over internet: not encrypted
FAIL IS04 password on a path to or from production; use a certificate or OAuth
H07 Rockford MES reads production orders by RFC
WARN IS02 plain rfc on the private network; use SNC or TLS
WARN IS04 password on the private network
FAIL IS07 secret kept in mes-config-file
H08 Copilot Studio agent reads sales orders through Calder's MCP server
FAIL IS04 api-key on a path to or from production; use a certificate or OAuth
FAIL IS08 acts for people but back end sees TU_COPILOT_MCP
H09 Augsburg ECC sends impeller lot statuses to S4P by SOAP
WARN IS04 basic on the private network (retires 2027-07-05)
H10 API Management calls the sales order API for distributors
FAIL IS04 basic on a path to or from production; use a certificate or OAuth
FAIL IS07 secret kept in proxy-policy
H11 Larkspur posts shipment status to Cloud Integration
FAIL IS01 no owner
FAIL IS04 basic on a path to or from production; use a certificate or OAuth
WARN IS05 generic role ESBMessaging.send; give the sender a custom role
FAIL IS06 credential CPI_INBOUND shared with H01
CT01 sap_cloudintegrationcertificate
WARN IS10 sap_cloudintegrationcertificate expires in 52 days (2027-01-21)
FAIL IS10 SAP's new key is waiting; Hallam, Tessaly not sent it yet
FAIL IS11 nobody is alerted before it expires
CT02 HALLAMFS-AS2
FAIL IS11 nobody is alerted before it expires
CT03 TESSALYFP-AS2
FAIL IS10 TESSALYFP-AS2 expires in 15 days (2026-12-15)
FAIL IS11 nobody is alerted before it expires
CT06 auscc11 subaccount certificate
WARN IS10 auscc11 subaccount certificate expires in 12 days (2026-12-12)
FAIL IS11 no owner for the renewal
CT07 s4p-app.calder.internal server certificate
FAIL IS11 nobody is alerted before it expires
54 OK, 7 WARN, 24 FAIL across 11 hops and 7 certificates
Without --quiet, the review also prints every OK line. The exit code is 2 because there are failures.
Read the rules behind the findings:
Rule
Checks
Basis
IS01
Every hop names an owner
Course rule
IS02
Transport is encrypted; plain FTP, HTTP or RFC across networks fails, plain RFC inside warns
SAP: prefer encrypted protocols; Cloud Connector supports RFC with SNC
IS03
TLS 1.2 or 1.3
SAP: Cloud Integration supports TLS 1.2 and 1.3
IS04
No password or API key on paths to or from production, unless accepted in writing by someone other than the owner, with an end date
SAP: avoid basic in production; the exception form is a course rule
IS05
Inbound senders get a custom role, not ESBMessaging.send
SAP guideline
IS06
One credential per hop
Course rule
IS07
Secrets only in approved stores
SAP: security material, encrypted key value maps; the list is a course rule
IS08
A hop that acts for people passes their identity
Course rule, after SAP's principal propagation
IS09
Payment or personal data is signed and encrypted at message level
SAP guideline on message-level security; the trigger is a course rule
IS10
Certificates more than 60 days from expiry; under 30 days fails in production; SAP's new key sent to partners
SAP's 60-day window; thresholds are course rules
IS11
Every certificate has an owner and an alert or automatic renewal
Course rule, after Cloud ALM and Cloud Connector alerting
2026-10-31 start CT03 TESSALYFP-AS2 LATE
expires 2026-12-15, tell: Tessaly, hops: H04 (message level: no error at Calder when it expires; the partner's side decides)
2026-11-12 start CT06 auscc11 subaccount certificate LATE
expires 2026-12-12, tell: internal only, hops: -
2026-11-22 start CT01 sap_cloudintegrationcertificate LATE
expires 2027-01-21, tell: Hallam, Tessaly, hops: H03, H04 (message level: no error at Calder when it expires; the partner's side decides)
2027-01-15 start CT07 s4p-app.calder.internal server certificate
expires 2027-02-14, tell: internal only, hops: H02, H10
4 renewals start within 120 days of 2026-11-30
Read it. Three renewals should already have started. The lead times are course values: 60 days for SAP's own key (SAP's window), 45 for partner certificates and PGP keys, 30 for internal ones.
2026-12-12 CT06 auscc11 subaccount certificate expired: TLS handshakes fail on its connections
2026-12-15 CT03 TESSALYFP-AS2 expired: no error at Calder; the partner may reject messages on H04
2027-01-20 CT01 SAP's new key activated; Hallam, Tessaly still trust the old one: signed messages rejected on H03, H04
2027-02-14 CT07 s4p-app.calder.internal server certificate expired: TLS handshakes fail on H02, H10
4 breaks in the next 120 days with the plans in this register
Note the 2027-01-20 line. SAP's job switches the key one day before expiry, as SAP documents, so Calder's tenant keeps working. The break is at Hallam and Tessaly, who still trust the old certificate.
H08 Copilot Studio agent reads sales orders through Calder's MCP server
1 Copilot Studio agent -> S4P via MCP server over https (internet)
2 proves itself with api-key (CALDER_MCP_API_KEY, kept in credential-store)
3 the back end logs the call as: TU_COPILOT_MCP
4 a clerk reads order 1000002: allowed, logged as TU_COPILOT_MCP
a rep without channel 20 reads it: allowed, logged as TU_COPILOT_MCP
H08 Copilot Studio agent reads sales orders through Calder's MCP server
1 Copilot Studio agent -> S4P via MCP server over https (internet)
2 proves itself with oauth-token-exchange (calder-copilot-connector, kept in credential-store)
3 the back end logs the call as: the signed-in person
4 a clerk reads order 1000002: allowed by the clerk's own roles
a rep without channel 20 reads it: refused by the rep's own roles
The Copilot Studio topic builds this difference as a running MCP server with lab tokens.
bank writes the statement and signs it
signature e520126846f20fff...
file rests on the SFTP server, where TLS no longer protects it;
someone with access changes one amount: 3777.19 -> 37771.90
receiver with transport security only:
SFTP session encrypted: OK -> statement loaded, cash overstated by 33994.71
receiver that verifies the signature:
signature matches: False -> rejected, treasury alerted
#Step 9: See why one credential per partner exists
CPI_INBOUND leaked. Exposed hops:
H01 EDI provider sends distributor orders to Cloud Integration
H11 Larkspur posts shipment status to Cloud Integration
Rotating it means coordinating 3 parties: Cloud Integration calder-int-prod, EDI provider, Larkspur Freight Lines
H09 Augsburg ECC sends impeller lot statuses to S4P by SOAP
WARN IS04 basic on the private network (retires 2027-07-05)
H10 API Management calls the sales order API for distributors
WARN IS04 basic accepted by 00100290 until 2027-06-30: OAuth once the API artifact pilot is decided
CT01 sap_cloudintegrationcertificate
WARN IS10 sap_cloudintegrationcertificate expires in 52 days (2027-01-21)
CT06 auscc11 subaccount certificate
WARN IS10 auscc11 subaccount certificate expires in 12 days (2026-12-12)
83 OK, 4 WARN, 0 FAIL across 11 hops and 9 certificates
2026-12-01 CT06 renewed automatically: no break
2027-01-19 CT07 renewed as planned, partners told: no break
2027-01-20 CT01 SAP's new key activated; partners already trust it: no break
0 breaks in the next 120 days with the plans in this register
Compare the two files in VS Code. The fixes, hop by hop:
Hop or certificate
Draft
Reviewed
H01
shared basic user, generic role
the EDI provider's own client certificate (CT09), role Calder.I10.Send
H02
password in a header, all headers logged
OAuth client credentials I10_S4P_OAUTH in security material, allow-list logging
H05
SFTP password, unsigned statements
SSH key, statements signed and encrypted with PGP (CT08)
H06
plain FTP
SFTP with a key
H07
plain RFC, password in a config file
SNC, with the MES's key in its own PSE
H08
shared API key
OAuth token exchange, the person's identity reaches SAP
H10
password in the proxy policy
encrypted key value map, basic accepted by the enterprise architect until 2027-06-30
H11
shared user, no owner
its own OAuth client, role Calder.I06.Send, owner 00100322
CT01
partners not told
partners have the new certificate, Cloud ALM watches
CT03
expires in 15 days
Tessaly's renewed certificate to 2027-12-15
CT06
no owner, automatic renewal off
owner 00100316, automatic renewal on
CT07
nobody watches
Cloud ALM, renewal planned for 2027-01-19
The remaining warnings are accepted: H09 retires with the July 2027 rollout, H10 has a signed exception, CT01 is in SAP's renewal window with partners ready, and CT06 renews on the next job run.
In the Integration Suite, open Monitor > Integrations and APIs and, under Manage Security, open Keystore. List every entry with its alias and expiry date; check the New SAP Keys tab.
Open Security Material and list every credential with its type.
For each integration flow, note which credential and which key alias each adapter uses, and which role each sender adapter requires.
Write these into your own register.json in the lab's format and run the review. Every FAIL is a backlog item with an owner.
Related topics cover the neighbors: API Management for API keys, OAuth policies and encrypted key value maps; B2B and EDI for AS2 certificates in partner agreements; RFC and BAPI for SNC and the S_RFC authorization; SOAP and OData for WS-Security; Edge Integration Cell for keys you operate yourself in a customer-managed runtime.
Where it sits. Every hop in Calder's landscape crosses at least one trust boundary: partners and carriers to Cloud Integration over the internet, Cloud Integration and API Management to S4P through the Cloud Connector SCC-RK-P, Augsburg's ECC and the Rockford MES to S4P on the private network, and agents to S4P through an MCP server.
flowchart LR
subgraph Internet
EP[EDI provider] ; HL[Hallam AS2] ; TS[Tessaly AS2] ; LK[Larkspur] ; BK[Bank SFTP] ; CP[Copilot Studio agent]
end
subgraph BTP[SAP BTP]
CI[Cloud Integration<br/>keystore + security material] ; AM[API Management] ; MCP[MCP server]
end
subgraph Calder[Calder network]
SCC[Cloud Connector SCC-RK-P] ; S4P[S/4HANA S4P] ; MES[Rockford MES] ; ECP[ECC ECP]
end
EP & HL & TS & LK -- cert or OAuth --> CI
CI -- SSH key + PGP --> BK
CP -- token exchange --> MCP
CI & AM & MCP --> SCC -- TLS / SNC --> S4P
MES -- SNC --> S4P
ECP -- HTTPS --> S4P
Non-functional requirements.
Requirement
Typical target
What breaks if missed
Certificate renewal lead time
Started 60 days before expiry for partner-facing keys
A partner rejects messages on a fixed date
Secret rotation
Any one credential rotated within a day, touching one partner
A leak takes several partners down together
Identity in the audit log
Person-level for every hop that acts for people
Nobody can say who read or changed data
Transport
TLS 1.2 or 1.3; SNC for RFC
Credentials and data readable on the wire
Content protection
Signed and encrypted for payment and personal data
Tampered or exposed files go undetected
Integration and identity. Technical jobs authenticate with OAuth client credentials or certificates per partner, each with its own role. Hops that act for people pass the person's identity through principal propagation or token exchange, so S4P applies that person's roles. Secrets live in security material, encrypted key value maps, bindings or the Credential Store, referenced by name.
Context: Calder's integration tenant receives messages from an EDI provider, distributors and carriers. Two senders share one basic user with ESBMessaging.send.
Options: (a) a basic user per sender; (b) OAuth client credentials per sender; (c) a client certificate per sender where the sender can manage one, OAuth client credentials otherwise.
Decision: (c). One service key per sender, each instance with a custom role per scenario. No basic authentication inbound.
Consequences: Certificates join the renewal calendar with an owner and a Cloud ALM alert. Onboarding a sender needs a certificate exchange or an OAuth client, which takes a day longer than a password. A leak affects one sender.
What a design review will ask.
Which connections still use passwords, and when does each stop?
Who renews each certificate, and who tells each partner?
For each hop that acts for people, whose identity does SAP see?
What content is signed and encrypted at message level, and why that and not more?
How long does it take to rotate one credential, and how many parties does it touch?
Authorizations. Limit who can read or change security material and the keystore. SAP flags MessagePayloadsRead and DataStorePayloadsRead as roles that expose message content, and recommends access policies to restrict integration content (SAP documentation). Unit 27 covers the SAP authorization concept behind back-end technical users.
Operations. Treat a renewal like a change: date, partner contacts, test the morning after. Route certificate alerts like interface errors, to a named owner, as the interface monitoring topic sets out. Keep the Cloud Connector's audit log on in production and restrict access to its machine, as SAP recommends.
Evaluation. Run the register review in a pipeline; a FAIL blocks the change that introduced it.
Cost. The work is people's time: certificate exchanges and partner coordination. Budget it per partner per year.
Clean core. Security fixes live outside the core: in Integration Suite, the Cloud Connector and identity services. Avoid custom RFC modules that bypass released APIs and their authorizations; the RFC topic shows the replacements.
Agents are one more consumer, with a new rule. An agent acting for people must carry their identity to SAP; a shared key turns it into a privileged back door. The agent permissions topic and MCP security lessons go deeper.
AI helps build the register. A model can read exported flow and proxy configurations and draft the register's lines; the review rules, not the model, decide what passes. Never paste keystore exports or security material into an AI tool.
AI in Integration Suite generates flows and mappings (topic); review what it generates against the same rules, especially credentials in headers and header logging.
Watching only transport certificates. Message-level keys expire silently at your end. Put them on the same calendar.
Letting SAP's automatic activation be the plan. It keeps your tenant running and breaks partners who weren't told.
One inbound user for everyone. It feels simpler until the first leak or the first partner offboarding.
Secrets in flows, policies and parameters. They travel with every transport and export. Move them to security material and rotate them, since they were exposed.
Logging all headers while debugging. The Authorization header goes to monitoring, readable by more people than you think.
Trusting an uploaded root certificate. The keystore doesn't check it. Verify the fingerprint with its owner.
Treating SFTP as content protection. It isn't, once the file is on disk.
Exceptions without end dates. "Accepted" with no date and no approver is just a finding nobody owns.
Add a rule and a hop: Calder's buyer wants Ridgeline's monthly price list (interface I16 from the file interfaces topic) fetched by SFTP, and you add a rule that every SFTP server's host key is pinned in the tenant's known hosts, as SAP's guidance on known hosts files suggests.
In unit26/intsec_lab.py, inside review(), find the line # IS08 the person's identity reaches the back end and paste these lines just above it, at the same indentation:
# IS13 SFTP servers pinned in the known hosts file
if h["transport"] == "sftp":
pinned = h.get("known_host", False)
add("IS13", "OK" if pinned else "FAIL",
"server host key pinned in known hosts" if pinned else "server host key not pinned")
Open unit26/intsec/register_reviewed.json. In hops H05 and H06, add "known_host": true, on a new line after "owner": ...,.
Add a new hop at the end of the "hops" list (put a comma after the closing brace of H11 first):
The last line reads 90 OK, 4 WARN, 1 FAIL across 12 hops and 9 certificates, with FAIL IS13 server host key not pinned under H12.
Ridgeline confirms its host key fingerprint by phone. Change "known_host": false to true in H12 and run the review again.
Done when: the review of the reviewed register prints 91 OK, 4 WARN, 0 FAIL across 12 hops and 9 certificates, with three OK IS13 lines (H05, H06, H12). The register and its review feed the interface inventory and operating model later in the course.
Pick one answer for each question. The explanation appears after you choose.
1Why does SAP rank basic authentication low even when the connection uses TLS?
Answer: B. TLS protects only between two points and ends at intermediate hops, where a password can reach logs or monitoring tools. Passwords are also open to brute force and lockouts. Cloud Integration still offers basic authentication; SAP advises against it in production.
2How does Cloud Integration decide that an inbound caller with a client certificate may run a flow?
Answer: A. The sender's certificate is stored in a service key of plan integration-flow. At runtime Cloud Integration finds that key and checks that its instance carries the role named in the sender adapter. A trusted CA alone isn't enough.
3Calder's tenant signs AS2 messages with SAP's key, which expires on 2027-01-21. Nobody acts. What happens?
Answer: D. SAP prepares the new key 60 days ahead and a daily job activates it one day before expiry. The tenant keeps working. Partners who still trust the old certificate reject the newly signed messages, so telling them is Calder's job.
4Why does the lab put message-level keys on the same renewal calendar as TLS certificates?
Answer: C. SAP notes that expiry isn't checked in the signing and encryption steps, so an expired key keeps working at Calder and the failure appears at the partner. Only a calendar with an owner catches it.
5The bank statement hop uses SFTP. What does adding a PGP signature protect that SFTP doesn't?
Answer: C. SFTP encrypts the session, not the file at rest. A signature over the content lets the receiver detect any change, so the tampered statement in Step 8 is rejected instead of loaded.
6In the draft, a Copilot Studio agent calls SAP with one API key. What does the trace show is wrong?
Answer: A. With one key, SAP sees one technical user, so a rep reads orders their own roles would refuse and the log can't say who acted. Token exchange lets SAP see and check the person.
7What would you do if two inbound senders share one service key with ESBMessaging.send?
Answer: C. One key per sender limits a leak, and its rotation, to that sender. A custom role per scenario stops a sender's key from calling flows it shouldn't, as SAP's guideline advises against the generic role.
8The API Management hop keeps basic authentication in the reviewed register. Why is it a WARN, not a FAIL?
Answer: B. The course rule turns the finding into a warning only with a written exception: a different approver, a reason and an end date. Moving the secret fixed IS07, but basic authentication on a production path still needs the exception.
Adapters Authentication Methods (SAP Integration Suite documentation, SAP-docs on GitHub, read 2026-11-30)— Per-adapter table of sender and receiver authentication methods; HTTPS, IDoc, AS2 and AS4 senders offer client certificate (recommended), OAuth with client credentials grant (recommended) and basic; always use TLS where possible; client certificates usually give the highest security but expire and need rotation; avoid Basic or None in production
Use Secure Authentication Methods (SAP Integration Suite design guidelines, read 2026-11-30)— Methods listed roughly from low to high security: None, Basic, Principal Propagation, SASL, OAuth, Client Certificate, Public Key; basic passwords can be read where TLS is terminated, can be brute-forced and lock users; OAuth exchanges secrets only with the authorization server and tokens are short-lived; inbound to Cloud Integration is always authenticated; avoid generic user roles for sender authorization and create a custom role
Security Aspects of Data, Data Flow for Cloud Integration (SAP-docs on GitHub, read 2026-11-30)— TLS 1.2 and 1.3 supported inbound and outbound; symmetric keys at least 128 bits, SAP's asymmetric keys 2048 bits by default; mTLS equals client certificate authentication; HTTP receiver URLs possible but not recommended; basic authentication not recommended in production because credentials can become visible where TLS terminates, e.g. load balancers; SFTP with password or public key, SSH 2
Keystore (SAP Integration Suite documentation, read 2026-11-30)— One keystore per tenant for transport- and message-level keys; if a server trusts several key pairs one is chosen at random unless Private Key Alias is set; use different keys for message and transport level; expiration is not checked in encryption, decryption and signing steps; SAP-owned aliases start with sap_ or are hcicertificate, hcicertificate1, hcimsgcertificate; uploads are not signature-checked, so verify root certificates manually; sap_cloudintegrationcertificate preinstalled
Renewal of Keys Provided by SAP (SAP Integration Suite documentation, read 2026-11-30)— SAP prepares the new key pair 60 days before expiry under the same alias in New SAP Keys; the tenant administrator downloads the new certificate, tells the administrators of connected systems, they update their keystores, then the tenant administrator activates the new key; renewal must be coordinated to avoid downtime
Apply Message-Level Security (SAP Integration Suite design guidelines, read 2026-11-30)— TLS and SFTP protect data only in transfer; files on an SFTP server are not protected; message-level encryption and signing (PGP, PKCS#7/CMS, XML Signature, WS-Security) protect content across hops and prove authorship; the partner must support the algorithms; a certificate signed by a trusted CA in production