BTP Security
Covers the foundational and intermediate security architecture of SAP BTP, including identity providers, trust configuration, authentication flows, authorization concepts (roles, role collections, scopes), and how these elements interact across subaccounts, Cloud Foundry, and Kyma runtimes to protect integration and application landscapes.
Overview
Covers the foundational and intermediate security architecture of SAP BTP, including identity providers, trust configuration, authentication flows, authorization concepts (roles, role collections, scopes), and how these elements interact across subaccounts, Cloud Foundry, and Kyma runtimes to protect integration and application landscapes.
Lessons in this topic
- BTP Security Part 1: Identity, Trust and Platform AccessUnderstand the BTP security model: platform users (who administer accounts) vs business users (who use apps), identity providers and trust, the authorization chain from scopes to roles to role collections, and the services involved (SAP Cloud Identity Services, XSUAA).
- BTP Security Part 2: Trust, OAuth Clients and Role Collections Across SubaccountsConfigure security consistently in every subaccount: trust to Identity Authentication, xs-security.json with scopes, role templates and role collections delivered by the app, XSUAA service instances as OAuth clients, attribute-based restrictions, and standardized role collection design across dev/test/prod.
- BTP Security Part 3: App-to-App Security with OAuth2Secure service-to-service communication: OAuth2 client credentials for technical calls, token exchange/JWT bearer to propagate user identity, granting scopes to other apps (foreign scopes), X.509 credentials instead of secrets, and troubleshooting token errors.
Interview questions covered
- A service calls another API and users see data they shouldn't. How do you design app-to-app security?
- What are the core concepts of BTP Security for Integration and Application Architecture, and how would you explain them clearly in an SAP interview?
- How would you apply BTP Security for Integration and Application Architecture in a real SAP project? Walk through the design or implementation approach.
- A production issue is reported in BTP Security for Integration and Application Architecture. What would you check first, and how would you troubleshoot it systematically?
- What are the most important design decisions, trade-offs, and best practices in BTP Security for Integration and Application Architecture?
- Suppose you inherit an existing BTP Security for Integration and Application Architecture solution. How would you review it before making a change?
- Design app security with XSUAA so roles are consistent across dev, test and prod.
- A company assigns BTP role collections to hundreds of users individually and leavers keep access. Explain the BTP security model and your fix.
How to study BTP Security
BTP Security has 3 lessons (1 beginner, 1 intermediate, 1 advanced) with about 12 minutes of reading in total. Start with the lesson that matches your level, then read the real project scenario and common mistakes in each one before moving on. After the lessons, say the 8 interview questions out loud in your own words, then check yourself against the model answer in each question (shown once you open it). Use the 13 mock questions to check recall.
Mock test questions covered
Try answering each one before you open the mock test; the answer options and scoring are in the Mock Questions tab.
- A reporting service calls an orders API with client credentials, so users see all countries' data. What should change?
- In SAP BTP's authorization model, what is the correct relationship among role templates, roles, and role collections?
- When configuring a destination in the SAP BTP Destination service to call a backend that requires mutual TLS with a client certificate, which authentication type should be selected?
- In the Kyma environment, how is application-level authentication and authorization typically enforced for microservices instead of relying solely on native XSUAA integration within the application code?
- Which OAuth 2.0 grant type is typically used for service-to-service communication on SAP BTP where no interactive end user is involved, such as a scheduled job calling another service?
- Role collections have different names in each environment, so group mappings break after transports. What fixes this?
- What is the correct order of the BTP authorization chain from app to user?
- In an XSUAA-secured application's xs-security.json, what is the main functional difference between a scope and an attribute?
- What is the primary function of the Identity Provisioning service (IPS) within the SAP BTP security landscape?
- Which SAP BTP service acts as the OAuth 2.0 authorization server and manages scopes, roles, and role collections for applications running in the Cloud Foundry environment?
- What security-related role does the Application Router (approuter) fulfill in a multi-target SAP BTP application?
- What is primarily achieved by configuring a trust relationship between a BTP subaccount and the SAP Identity Authentication service (IAS)?
- What must be configured to enable principal propagation from a BTP application through Cloud Connector to an on-premise ABAP system?