sap-btp-connectivity
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSAP BTP Connectivity Skill
SAP BTP Connectivity技能
Related Skills
相关技能
- sap-btp-cloud-platform: Use for platform fundamentals, BTP account setup, and integration patterns
- sap-btp-best-practices: Use for implementation guidance, security best practices, and production deployment
- sap-cap-capire: Use for CAP service connectivity, destination consumption, and secure API access
- sap-fiori-tools: Use for configuring Fiori app destinations and frontend connectivity
- sap-abap: Use when connecting to ABAP systems via RFC or implementing principal propagation
- sap-btp-cloud-platform: 适用于平台基础、BTP账户设置和集成模式相关场景
- sap-btp-best-practices: 适用于实施指导、安全最佳实践和生产部署相关场景
- sap-cap-capire: 适用于CAP服务连接、目标消费和安全API访问相关场景
- sap-fiori-tools: 适用于配置Fiori应用目标和前端连接相关场景
- sap-abap: 适用于通过RFC连接ABAP系统或实现主体传播相关场景
Table of Contents
目录
Overview
概述
SAP BTP Connectivity provides secure access from SAP BTP applications to remote services across cloud, on-premise, and VPC environments.
SAP BTP Connectivity为SAP BTP应用提供安全访问能力,可连接云、本地和VPC环境中的远程服务。
Core Components
核心组件
| Component | Purpose |
|---|---|
| Destination Service | Manages connection metadata, authentication, routing |
| Connectivity Service | Enables Kubernetes workloads via Cloud Connector |
| Cloud Connector | Reverse proxy for secure on-premise tunneling |
| Connectivity Proxy | Kubernetes component for on-premise access |
| Transparent Proxy | Kubernetes component for unified destination access |
Supported Environments: Cloud Foundry, ABAP Environment, Kyma
Supported Protocols: HTTP/HTTPS, RFC, TCP (SOCKS5), LDAP/LDAPS, Mail
Supported Protocols: HTTP/HTTPS, RFC, TCP (SOCKS5), LDAP/LDAPS, Mail
| 组件 | 用途 |
|---|---|
| Destination Service | 管理连接元数据、认证和路由 |
| Connectivity Service | 通过Cloud Connector支持Kubernetes工作负载 |
| Cloud Connector | 用于安全本地隧道的反向代理 |
| Connectivity Proxy | 用于访问本地系统的Kubernetes组件 |
| Transparent Proxy | 用于统一目标访问的Kubernetes组件 |
支持环境:Cloud Foundry、ABAP Environment、Kyma
支持协议:HTTP/HTTPS、RFC、TCP(SOCKS5)、LDAP/LDAPS、Mail
支持协议:HTTP/HTTPS、RFC、TCP(SOCKS5)、LDAP/LDAPS、Mail
Quick Start
快速开始
Create HTTP Destination (Cloud Foundry)
创建HTTP目标(Cloud Foundry)
- Navigate: Connectivity > Destinations in BTP Cockpit
- Select: Create > From Scratch
- Configure:
Name: my-destination Type: HTTP URL: [https://api.example.com](https://api.example.com) ProxyType: Internet Authentication: OAuth2ClientCredentials clientId: <your-client-id> clientSecret: <your-client-secret> tokenServiceURL: [https://auth.example.com/oauth/token](https://auth.example.com/oauth/token)
- 导航:BTP控制台中的Connectivity > Destinations
- 选择:Create > From Scratch
- 配置:
Name: my-destination Type: HTTP URL: [https://api.example.com](https://api.example.com) ProxyType: Internet Authentication: OAuth2ClientCredentials clientId: <your-client-id> clientSecret: <your-client-secret> tokenServiceURL: [https://auth.example.com/oauth/token](https://auth.example.com/oauth/token)
Set Up Cloud Connector
搭建Cloud Connector
- Download from SAP Tools
- Access: ](https://localhost:8443`)
[https://localhost:8443 - Login: /
Administrator(change immediately)manage - Add subaccount connection
- 从SAP Tools下载
- 访问:](https://localhost:8443`)
[https://localhost:8443 - 登录:/
Administrator(立即修改密码)manage - 添加子账户连接
Access Destination in Application (Node.js)
在应用中访问目标(Node.js)
javascript
const { getDestination } = require('@sap-cloud-sdk/connectivity');
const destination = await getDestination({ destinationName: 'my-destination' });javascript
const { getDestination } = require('@sap-cloud-sdk/connectivity');
const destination = await getDestination({ destinationName: 'my-destination' });Connectivity Scenarios
连接场景
Cloud-to-Cloud
云到云
ProxyType: Internet
Authentication: OAuth2ClientCredentials | OAuth2SAMLBearerAssertionProxyType: Internet
Authentication: OAuth2ClientCredentials | OAuth2SAMLBearerAssertionCloud-to-On-Premise
云到本地
ProxyType: OnPremise
Authentication: BasicAuthentication | PrincipalPropagationRequires Cloud Connector installation in on-premise network.
ProxyType: OnPremise
Authentication: BasicAuthentication | PrincipalPropagation需要在本地网络中安装Cloud Connector。
On-Premise-to-Cloud (Service Channels)
本地到云(服务通道)
For on-premise systems accessing SAP BTP services via Cloud Connector.
适用于本地系统通过Cloud Connector访问SAP BTP服务的场景。
Destination Types
目标类型
| Type | Use Case | ProxyType | Common Authentication |
|---|---|---|---|
| HTTP | REST/OData APIs | Internet/OnPremise | OAuth2, Basic, Certificates |
| RFC | SAP systems | OnPremise | Basic, PrincipalPropagation |
| LDAP | Directory services | Internet | Basic, NoAuth |
| Email protocols | Internet | Basic, NoAuth | |
| TCP | Generic TCP | OnPremise | Basic |
Detailed configuration: See , ,
references/http-destinations.mdreferences/rfc-destinations.mdreferences/mail-tcp-ldap-destinations.md| 类型 | 使用场景 | ProxyType | 常见认证方式 |
|---|---|---|---|
| HTTP | REST/OData API | Internet/OnPremise | OAuth2、Basic、证书 |
| RFC | SAP系统 | OnPremise | Basic、PrincipalPropagation |
| LDAP | 目录服务 | Internet | Basic、无认证 |
| 邮件协议 | Internet | Basic、无认证 | |
| TCP | 通用TCP | OnPremise | Basic |
详细配置:请查看 、、
references/http-destinations.mdreferences/rfc-destinations.mdreferences/mail-tcp-ldap-destinations.mdAuthentication Configuration
认证配置
OAuth2ClientCredentials (Service-to-Service)
OAuth2ClientCredentials(服务到服务)
Authentication: OAuth2ClientCredentials
clientId: <client-id>
clientSecret: <client-secret>
tokenServiceURL: [https://auth.example.com/oauth/token](https://auth.example.com/oauth/token)Authentication: OAuth2ClientCredentials
clientId: <client-id>
clientSecret: <client-secret>
tokenServiceURL: [https://auth.example.com/oauth/token](https://auth.example.com/oauth/token)OAuth2SAMLBearerAssertion (User Propagation)
OAuth2SAMLBearerAssertion(用户传播)
Authentication: OAuth2SAMLBearerAssertion
audience: <target-audience>
clientKey: <client-key>
tokenServiceURL: [https://auth.example.com/oauth2/token](https://auth.example.com/oauth2/token)
KeyStoreLocation: <certificate-location>Authentication: OAuth2SAMLBearerAssertion
audience: <target-audience>
clientKey: <client-key>
tokenServiceURL: [https://auth.example.com/oauth2/token](https://auth.example.com/oauth2/token)
KeyStoreLocation: <certificate-location>PrincipalPropagation (On-Premise SSO)
PrincipalPropagation(本地单点登录)
Authentication: PrincipalPropagation
ProxyType: OnPremiseRequires Cloud Connector X.509 certificate generation.
Complete reference: (all 17+ types)
references/authentication-types.mdAuthentication: PrincipalPropagation
ProxyType: OnPremise需要Cloud Connector生成X.509证书。
完整参考:(包含17+种认证类型)
references/authentication-types.mdCloud Connector Setup
Cloud Connector搭建
Installation
安装
- Production: Windows MSI/Linux RPM packages (service registration)
- Development: Portable archive (manual execution)
- 生产环境:Windows MSI/Linux RPM包(服务注册)
- 开发环境:便携归档包(手动执行)
Initial Configuration
初始配置
- Access UI: ](https://<hostname>:8443`)
[https://<hostname>:8443 - Login: /
Administratormanage - Change password immediately
- Select mode: Master or Shadow
- Add subaccount connection
- 访问UI:](https://<hostname>:8443`)
[https://<hostname>:8443 - 登录:/
Administratormanage - 立即修改密码
- 选择模式:主节点(Master)或备用节点(Shadow)
- 添加子账户连接
Access Control
访问控制
Configure on-premise resource access:
- Backend Types: ABAP System, SAP Gateway, Non-SAP System, SAP HANA
- HTTP Access Control: System mapping + resource paths + policies
配置本地资源访问权限:
- 后端类型:ABAP系统、SAP Gateway、非SAP系统、SAP HANA
- HTTP访问控制:系统映射 + 资源路径 + 策略
High Availability
高可用
- Master-Shadow: Primary + backup with synchronized config
- Requirements: Stable network, separate machines, identical versions
Complete guide:
references/cloud-connector.md- 主备模式:主节点+备用节点,配置同步
- 要求:稳定网络、独立机器、相同版本
完整指南:
references/cloud-connector.mdKubernetes/Kyma Connectivity
Kubernetes/Kyma连接
Connectivity Proxy
Connectivity Proxy
Enables Kubernetes workloads to access on-premise systems.
Installation:
bash
helm install connectivity-proxy \
oci://registry-1.docker.io/sapse/connectivity-proxy \
--version <version> --namespace <namespace> -f values.yaml支持Kubernetes工作负载访问本地系统。
安装:
bash
helm install connectivity-proxy \
oci://registry-1.docker.io/sapse/connectivity-proxy \
--version <version> --namespace <namespace> -f values.yamlTransparent Proxy
Transparent Proxy
Exposes BTP destinations as Kubernetes Services.
Installation:
bash
helm install transparent-proxy \
oci://registry-1.docker.io/sapse/transparent-proxy \
--version <version> --namespace <namespace> -f values.yamlUsage: Create Destination Custom Resource, access as Kubernetes Service.
Complete configuration:
references/kubernetes-connectivity.md将BTP目标暴露为Kubernetes服务。
安装:
bash
helm install transparent-proxy \
oci://registry-1.docker.io/sapse/transparent-proxy \
--version <version> --namespace <namespace> -f values.yaml使用:创建Destination自定义资源,以Kubernetes服务形式访问。
完整配置:
references/kubernetes-connectivity.mdCommon Issues & Troubleshooting
常见问题与排查
HTTP Error Codes
HTTP错误码
| Code | Cause | Solution |
|---|---|---|
| 400 | Malformed request | Check request syntax |
| 401 | Authentication failure | Verify credentials/tokens |
| 405 | HTTPS instead of HTTP | Use |
| 407 | Missing authorization | Add |
| 503 | Cloud Connector offline | Check CC connection and Location ID |
| 错误码 | 原因 | 解决方案 |
|---|---|---|
| 400 | 请求格式错误 | 检查请求语法 |
| 401 | 认证失败 | 验证凭证/令牌 |
| 405 | 使用HTTPS而非HTTP | 使用 |
| 407 | 缺少授权信息 | 添加 |
| 503 | Cloud Connector离线 | 检查CC连接和Location ID |
Cloud Connector Issues
Cloud Connector问题
Cannot connect to subaccount:
- Verify region host URL
- Check firewall allows outbound HTTPS
- Verify subaccount credentials
Access denied to resource:
- Check access control configuration
- Verify virtual host mapping
- Check resource path policy
Complete troubleshooting:
references/troubleshooting.md无法连接到子账户:
- 验证区域主机URL
- 检查防火墙是否允许HTTPS出站
- 验证子账户凭证
资源访问被拒绝:
- 检查访问控制配置
- 验证虚拟主机映射
- 检查资源路径策略
完整排查指南:
references/troubleshooting.mdSecurity Best Practices
安全最佳实践
Cloud Connector
Cloud Connector
- Deploy in DMZ under IT control
- Change default password immediately
- Configure LDAP for user management
- Enable audit logging (All level for production)
- Deploy high availability (master + shadow)
- 在受IT管控的DMZ区域部署
- 立即修改默认密码
- 配置LDAP进行用户管理
- 启用审计日志(生产环境设为All级别)
- 部署高可用架构(主节点+备用节点)
Destinations
目标配置
- Use OAuth over basic authentication
- Store credentials in Destination Service, not code
- Enable TLS for all connections
- Use mTLS for enhanced security
- 使用OAuth替代基础认证
- 将凭证存储在Destination Service中,而非代码里
- 为所有连接启用TLS
- 使用mTLS增强安全性
Critical Rules
关键规则
Always Do
必须执行
- Change Cloud Connector default password immediately
- Use HTTPS for all external connections
- Configure access control before exposing resources
- Enable audit logging in production
- Cache tokens and destinations appropriately
- 立即修改Cloud Connector默认密码
- 所有外部连接使用HTTPS
- 暴露资源前配置访问控制
- 生产环境启用审计日志
- 合理缓存令牌和目标信息
Never Do
禁止操作
- Expose Cloud Connector UI to internet
- Store credentials in application code
- Skip access control configuration
- Modify Cloud Connector Tomcat config files
- Run multiple master instances (split-brain)
- 将Cloud Connector UI暴露到公网
- 在应用代码中存储凭证
- 跳过访问控制配置
- 修改Cloud Connector Tomcat配置文件
- 运行多个主节点实例(脑裂问题)
Bundled Resources
配套资源
Configuration References
配置参考
- - Complete HTTP destination properties
references/http-destinations.md - - RFC destination properties and pooling
references/rfc-destinations.md - - Mail, TCP, LDAP configuration
references/mail-tcp-ldap-destinations.md - - All 17+ authentication configurations
references/authentication-types.md
- - 完整HTTP目标属性
references/http-destinations.md - - RFC目标属性和池化配置
references/rfc-destinations.md - - Mail、TCP、LDAP配置
references/mail-tcp-ldap-destinations.md - - 所有17+种认证配置
references/authentication-types.md
Setup & Configuration
搭建与配置
- - Cloud Connector setup and configuration
references/cloud-connector.md - - Connectivity Proxy and Transparent Proxy
references/kubernetes-connectivity.md - - REST API reference
references/destination-service-api.md
- - Cloud Connector搭建与配置
references/cloud-connector.md - - Connectivity Proxy和Transparent Proxy配置
references/kubernetes-connectivity.md - - REST API参考
references/destination-service-api.md
Advanced Topics
进阶主题
- - MTA, config.json, chaining, ZTIS
references/advanced-configuration.md - - ABAP, NetWeaver Java, custom IDP
references/identity-propagation-scenarios.md - - Network zones, solution management
references/operational-guides.md - - Reverse proxy, user roles, RFC config
references/connectivity-alternatives-and-config.md
- - MTA、config.json、链式配置、ZTIS
references/advanced-configuration.md - - ABAP、NetWeaver Java、自定义IDP
references/identity-propagation-scenarios.md - - 网络区域、解决方案管理
references/operational-guides.md - - 反向代理、用户角色、RFC配置
references/connectivity-alternatives-and-config.md
Development & SDK
开发与SDK
- - Java APIs, JCo, SAP Cloud SDK
references/java-sdk-development.md - - SMTP, IMAP, POP3 configuration
references/mail-protocols.md
- - Java API、JCo、SAP Cloud SDK
references/java-sdk-development.md - - SMTP、IMAP、POP3配置
references/mail-protocols.md
Templates
模板
- - HTTP destination with OAuth template
templates/destination-http-oauth.json - - On-premise destination template
templates/destination-onpremise.json - - Helm values for Connectivity Proxy
templates/connectivity-proxy-values.yaml - - Helm values for Transparent Proxy
templates/transparent-proxy-values.yaml
- - 带OAuth的HTTP目标模板
templates/destination-http-oauth.json - - 本地目标模板
templates/destination-onpremise.json - - Connectivity Proxy的Helm配置模板
templates/connectivity-proxy-values.yaml - - Transparent Proxy的Helm配置模板
templates/transparent-proxy-values.yaml
Documentation Links
文档链接
- Official SAP Documentation: https://help.sap.com/docs/connectivity
- GitHub Repository: https://github.com/SAP-docs/btp-connectivity
- Destination API: https://api.sap.com/api/SAP_CP_CF_Connectivity_Destination
- Release Notes: https://help.sap.com/whats-new/cf0cb2cb149647329b5d02aa96303f56
Last Updated: 2025-11-27
Next Review: 2026-02-27
Source: https://github.com/SAP-docs/btp-connectivity (383 files, 352+ analyzed)
Next Review: 2026-02-27
Source: https://github.com/SAP-docs/btp-connectivity (383 files, 352+ analyzed)