C_CPE_2409 · Question #26
In CAP, what is required to connect a service to the sandbox environment of the SAP API Business Hub for the Business Partner service?
The correct answer is C. API key. Connecting a CAP service to the SAP API Business Hub sandbox requires an API key because the sandbox is a publicly accessible test environment that uses simple key-based authentication rather than enterprise identity mechanisms. Client certificates (A) are used for mutual TLS…
Question
In CAP, what is required to connect a service to the sandbox environment of the SAP API Business Hub for the Business Partner service?
Options
- AClient certificate
- BService principal
- CAPI key
- DOAuth token
How the community answered
(52 responses)- A2% (1)
- B2% (1)
- C92% (48)
- D4% (2)
Explanation
Connecting a CAP service to the SAP API Business Hub sandbox requires an API key because the sandbox is a publicly accessible test environment that uses simple key-based authentication rather than enterprise identity mechanisms. Client certificates (A) are used for mutual TLS in secure service-to-service communication, not sandbox API access. A service principal (B) is an identity concept from OAuth/Azure AD flows used for production-grade authorization. An OAuth token (D) is the result of an authentication flow and is used in production-protected APIs, not the sandbox which bypasses that complexity intentionally.
Memory tip: Think "sandbox = simple" - the sandbox exists to let developers test quickly without setting up full auth flows, so it only needs a key you copy from the API Hub portal and paste into your .env or cds destination config.
Topics
Community Discussion
No community discussion yet for this question.