ERPClimb logoERPClimb
BTP Security
Security & GRCadvanced 6 min read

BTP Security Operations: Audit Logs, Secrets, Certificates and Least Privilege (Part 5)

Free sample lesson · open to everyone

Key takeaway

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 sections

Visual overview

BTP Security Operations: Audit Logs, Secrets, Certificates and Least Privilege (Part 5) — learning sheetIn one line: Operate BTP securely with continuous audit logging, secret/certificate lifecycle management, least-privilege administration, dormant-access review, environment separation and incident-ready evidence.ERPClimb.com / GRC / LESSON 5/5 / LEARNING SHEETBTP Security Operations: Audit Logs, Secrets, Certificatesand Least Privilege (Part 5)1 · IN ONE LINEOperate BTP securely with continuous audit logging, secret/certificate lifecycle management,least-privilege administration, dormant-access review, environment separation andincident-ready evidence.2 · KEY IDEAS EXPLAINEDAudit LogsEvidence of security-relevant admin/applicationevents per enabled servicesAssign read access to auditors/operatorsseparately from broad administratorsSecrets And CertificatesService keys, OAuth client secrets, private keys,destination certificates — never in source code orticketsStore in supported secret/configuration services,rotate before expiry/compromise, monitorcertificate expirationLeast Privilege, EverywhereApplies at global account, directory, subaccount,environment, and service levelsReview who can change trust, destinations, rolecollections, service instances, Cloud ConnectorconfigEnvironment SeparationSeparate DEV/TEST/PRD subaccounts and credentialsOne technical identity/certificate reused acrossenvironments = bigger blast radius, harder auditattribution3 · DO · AVOIDBest practice!Common mistakeInventory every secret/certificate with ownerand expiry.Centralize audit-log monitoring.Review privileged members periodically.✕Storing secrets in Git or support tickets.✕Sharing one service key across environments.✕Giving auditors full admin to view logs.4 · IN A REAL PROJECTA production integration failed when a client certificate expired. The certificate had been uploaded manuallytwo years earlier with no owner or alert. The recovery was simple, but the outage exposed weak securityoperations. The team implemented certificate inventory, owner, expiry alerts, controlled rotation and…Original ERPClimb learning sheet • Verify against your SAP release and edition

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.com

BTP Security — process breakdown

Topic-specific conceptual flow: how key objects and decisions fit together. SAP configurations and exceptional cases can follow different paths.

1/4

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?

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

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.