BTP Security Operations: Audit Logs, Secrets, Certificates and Least Privilege (Part 5)
Free sample lesson · open to everyone
It's day-2 operations, not initial setup, that ultimately determine whether BTP security actually holds up over time. Audit logs provide evidence of security-relevant administrative and application events across enabled services, and read access to those logs should be assigned to auditors and operators separately from broad administrators, with retention, export, and SIEM handling defined according to organizational policy.
In this lessonShow sectionsHide sections
Visual overview
The situation: a real project scenario
A production integration failed when a client certificate expired. The certificate had been uploaded manually two years earlier with no owner or alert. The recovery was simple, but the outage exposed weak security operations. The team implemented certificate inventory, owner, expiry alerts, controlled rotation and environment-specific credentials.
Explanation
It's day-2 operations, not initial setup, that ultimately determine whether BTP security actually holds up over time. Audit logs provide evidence of security-relevant administrative and application events across enabled services, and read access to those logs should be assigned to auditors and operators separately from broad administrators, with retention, export, and SIEM handling defined according to organizational policy.
Secrets and certificates — service keys, OAuth client secrets, private keys, and destination certificates — need careful lifecycle management, and they should never be embedded in source code or copied into tickets, since both of those make them far too easy to leak. They belong in supported secret or configuration services instead, should be rotated before expiry or suspected compromise, and certificate expiration needs to be actively monitored rather than discovered after something has already broken.
Least privilege needs to be applied everywhere in this architecture — at the global account, directory, subaccount, environment, and individual service levels. It's worth periodically reviewing who can change trust configuration, destinations, role collections, service instances, or Cloud Connector configuration, and removing dormant project members and stale temporary administrative access that may have been granted for a specific task and never revoked.
Environment separation is another important piece: development, test, and production subaccounts and credentials should be kept separate. Reusing one technical identity or certificate across all three environments increases the blast radius of any single compromise and makes audit attribution much harder, since the same credential could have acted in any of the environments.
Finally, it helps to know in advance what belongs in an incident evidence pack: the subaccount, the application or service instance involved, the user or client, the timestamp, the relevant audit-log event, sanitized token claims, the destination or credential version in use, and any recent configuration changes that might be relevant.
How the SAP process fits together
SAP PROCESS EXPLORER · Security: identity to compliant access
ERPClimb.comBTP Security — process breakdown
Topic-specific conceptual flow: how key objects and decisions fit together. SAP configurations and exceptional cases can follow different paths.
Selected process stage
Trust
Configure IAS/identity provider and BTP subaccount
Representative SAP learning flow, not a guarantee of system runtime sequence in every scenario.
Watch out
Common mistakes
Storing secrets or private keys in Git repositories or support tickets — once a credential has touched version-control history or a ticketing system, it should be treated as compromised, because those systems are rarely scoped or purged the way a dedicated secrets store is, and the exposure can persist long after anyone remembers it's there.
Sharing one service key or technical identity across DEV, TEST, and PRD environments — this increases the blast radius of any single compromise to every environment at once and makes audit log attribution ambiguous, since the same identity's actions in different environments can't be cleanly separated.
Giving auditors or operators full administrative access just so they can view audit logs — read access to logs should be granted separately from broad administrative rights, otherwise "give the auditor visibility" quietly becomes "give the auditor the ability to also change what's being audited."
Keeping project or subaccount administrator rights active for people after the project or engagement that needed them has ended — dormant privileged access is exactly the kind of thing that gets missed until an incident or audit forces a review, by which point it may have been exploitable for months.
Having no inventory of certificates and secrets with owners and expiry dates — a certificate uploaded manually with no owner or alert will eventually expire silently and take down a production integration at the worst possible time, as a routine lifecycle event rather than an attack.
Do this
Best practices
Inventory every secret and certificate with a named owner and a tracked expiry date, and alert well before expiry rather than discovering the lapse when an integration fails in production.
Centralize audit-log monitoring with read access granted separately from broad administrative rights, so visibility into security events doesn't require giving anyone the power to alter them.
Review privileged subaccount, directory, and project membership periodically, removing dormant admin access left over from completed projects or changed roles.
Use separate technical identities and certificates per environment (DEV/TEST/PRD) rather than reusing one across all of them, to limit blast radius and keep audit attribution clean.
Rotate credentials through controlled, auditable automation where the platform supports it, rather than ad hoc manual rotation that's easy to forget or get wrong.
In the interview
Interview angle
Typical question: "What makes BTP security operations hold up in practice, beyond getting the initial role and trust configuration right?"
A strong answer focuses on day-2 operational controls rather than just setup: continuous audit-log monitoring with read access granted separately from administrative rights, a maintained inventory of secrets and certificates with named owners and expiry alerts (never stored in source code or tickets), least-privilege administration reviewed periodically at every level from global account down to service instance, separate technical identities and credentials per environment to limit blast radius and preserve audit attribution, and being able to assemble an incident evidence pack (subaccount, service instance, user/client, timestamp, audit event, credential version, recent config changes) quickly when something goes wrong.
A weak answer stops at describing initial login/SSO setup or role collection assignment, and has nothing to say about secret lifecycle, environment separation, or what evidence an incident investigation would actually need.
Practice this lesson
Quick check
0 of 3 questions attempted
Question 1 of 3
Scenario — A production integration failed when a client certificate expired. For the lesson "BTP Security Operations: Audit Logs, Secrets, Certificates and Least Privilege", which response shows the strongest architecture and production judgment?
Question 2 of 3
As a security best practice for managing service keys and bindings in SAP BTP, which action most effectively reduces the risk associated with leaked credentials over time?
Question 3 of 3
What is the primary security benefit of enabling the Audit Log service in an SAP BTP subaccount?
Practise this in an interview
Answer in your own words and get instant feedback, the way an interviewer would judge it.
1You are the senior consultant/architect responsible for BTP Security for Identity, Authorization and GRC Operations: Audit Logs, Secrets, Certificates and Least Privilege. The project situation is: A production integration failed when a client certificate expired. How would you assess the design, identify the highest-risk failure modes, and define the evidence required before approving it for production?
2You are the senior consultant/architect responsible for SAP BTP Identity and Trust: Platform Users, Business Users and Identity Providers. The project situation is: A consultant could log into BTP cockpit but could not access an application. How would you assess the design, identify the highest-risk failure modes, and define the evidence required before approving it for production?
Was this lesson helpful?
Keep exploring
Interview questions on this topic
Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.