sap-btp-service-manager

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

SAP BTP Service Manager Skill

SAP BTP Service Manager技能

Related Skills

相关技能

  • sap-btp-cloud-platform: Use for platform fundamentals, service understanding, and BTP integration
  • sap-btp-best-practices: Use for production deployment patterns and service management guidelines
  • sap-btp-connectivity: Use for destination configuration when services require connectivity setup
  • sap-cap-capire: Use for CAP service provisioning and binding management
Comprehensive skill for managing services across SAP BTP environments using SAP Service Manager.

  • sap-btp-cloud-platform: 用于平台基础、服务理解及BTP集成场景
  • sap-btp-best-practices: 用于生产部署模式及服务管理指南场景
  • sap-btp-connectivity: 用于服务需要配置连接时的目标配置场景
  • sap-cap-capire: 用于CAP服务配置及绑定管理场景
本技能提供使用SAP Service Manager在SAP BTP各环境中管理服务的全面指导。

Table of Contents

目录

When to Use This Skill

适用场景

Use this skill when working on tasks involving:
Service Instance Management:
  • Creating service instances in Cloud Foundry, Kyma, Kubernetes, or other environments
  • Provisioning services via SAP BTP cockpit, SMCTL CLI, or BTP CLI
  • Configuring service parameters and labels
  • Deleting service instances and managing lifecycle
Service Binding Management:
  • Creating bindings to deliver credentials to applications
  • Binding service instances to Cloud Foundry applications
  • Creating service keys for external client access
  • Managing Kubernetes ServiceBinding CRDs
Platform & Broker Management:
  • Registering platforms (OSBAPI-enabled systems)
  • Registering service brokers
  • Managing broker catalogs and offerings
  • Updating and deleting platform/broker registrations
Authentication & Authorization:
  • Configuring OAuth2 client credentials
  • Working with X.509 certificate authentication
  • Assigning Subaccount Service Administrator role
  • Managing service manager plans and scopes
Kubernetes/Kyma Integration:
  • Setting up SAP BTP Service Operator
  • Creating ServiceInstance and ServiceBinding CRDs
  • Migrating from Service Catalog (svcat) to SAP BTP Service Operator
  • Installing cert-manager for operator communication
API & CLI Operations:
  • Using SMCTL command-line interface
  • Using BTP CLI for service management
  • Working with Service Manager REST APIs
  • Filtering and querying service resources
Troubleshooting:
  • Debugging service provisioning failures
  • Resolving binding credential issues
  • Handling rate limiting (HTTP 429)
  • Checking async operation status

在处理以下任务时使用本技能:
服务实例管理:
  • 在Cloud Foundry、Kyma、Kubernetes或其他环境中创建服务实例
  • 通过SAP BTP控制台、SMCTL CLI或BTP CLI配置服务
  • 配置服务参数与标签
  • 删除服务实例并管理其生命周期
服务绑定管理:
  • 创建绑定以向应用交付凭证
  • 将服务实例绑定到Cloud Foundry应用
  • 创建服务密钥供外部客户端访问
  • 管理Kubernetes的ServiceBinding CRD
平台与代理管理:
  • 注册平台(支持OSBAPI的系统)
  • 注册服务代理
  • 管理代理目录与服务产品
  • 更新及删除平台/代理注册
认证与授权:
  • 配置OAuth2客户端凭证
  • 使用X.509证书认证
  • 分配子账户服务管理员角色
  • 管理服务管理器计划与权限范围
Kubernetes/Kyma集成:
  • 配置SAP BTP Service Operator
  • 创建ServiceInstance与ServiceBinding CRD
  • 从Service Catalog (svcat)迁移到SAP BTP Service Operator
  • 安装cert-manager用于Operator通信
API与CLI操作:
  • 使用SMCTL命令行界面
  • 使用BTP CLI进行服务管理
  • 使用服务管理器REST API
  • 过滤与查询服务资源
故障排查:
  • 调试服务配置失败问题
  • 解决绑定凭证问题
  • 处理速率限制(HTTP 429)
  • 检查异步操作状态

Quick Start

快速开始

1. Install SMCTL CLI

1. 安装SMCTL CLI

⚠️ Important: The SMCLI repository was archived on September 30, 2025. While the tool remains functional, consider migration strategies for long-term SAP BTP workflows.
Recommended Method (Go):
bash
undefined
⚠️ 重要提示: SMCLI仓库已于2025年9月30日归档。尽管该工具仍可正常使用,但对于长期SAP BTP工作流,需考虑迁移策略。
推荐方式(Go):
bash
undefined

Install via Go (preferred approach)

Install via Go (preferred approach)

go install github.com/Peripli/service-manager-cli@latest
go install github.com/Peripli/service-manager-cli@latest

Add to PATH (if not already)

Add to PATH (if not already)

export PATH=$PATH:$(go env GOPATH)/bin smctl --version

**Alternative Method (Prebuilt Binary)**:
```bash
export PATH=$PATH:$(go env GOPATH)/bin smctl --version

**替代方式(预编译二进制文件)**:
```bash
tar -xzf smctl-*.tar.gz && chmod +x smctl sudo mv smctl /usr/local/bin/ && smctl --version

**Note**: While the prebuilt binary method remains functional, the Go installation approach is officially recommended. Consider evaluating SAP's native BTP CLI as an alternative for new deployments.
tar -xzf smctl-*.tar.gz && chmod +x smctl sudo mv smctl /usr/local/bin/ && smctl --version

**注意**: 尽管预编译二进制文件方式仍可使用,但官方推荐Go安装方式。对于新部署,可考虑评估SAP原生BTP CLI作为替代方案。

2. Login

2. 登录

bash
undefined
bash
undefined

Interactive login

Interactive login

smctl login -a https://service-manager.cfapps.<region>.hana.ondemand.com
--param subdomain=<subdomain>
smctl login -a https://service-manager.cfapps.<region>.hana.ondemand.com
--param subdomain=<subdomain>

Client credentials

Client credentials

smctl login -a https://service-manager.cfapps.<region>.hana.ondemand.com
--param subdomain=<subdomain> --auth-flow client-credentials
--client-id <id> --client-secret <secret>
undefined
smctl login -a https://service-manager.cfapps.<region>.hana.ondemand.com
--param subdomain=<subdomain> --auth-flow client-credentials
--client-id <id> --client-secret <secret>
undefined

3. Basic Operations

3. 基础操作

bash
undefined
bash
undefined

Browse services

Browse services

smctl marketplace
smctl marketplace

Create instance (async)

Create instance (async)

smctl provision my-instance <service> <plan>
smctl provision my-instance <service> <plan>

Create binding

Create binding

smctl bind my-instance my-binding

---
smctl bind my-instance my-binding

---

Core Concepts

核心概念

Service Manager Architecture

服务管理器架构

SAP Service Manager is the central registry for service brokers and platforms in SAP BTP.
Primary Resources:
  • Platforms - OSBAPI-enabled systems where applications run
  • Service Brokers - Intermediaries advertising service catalogs
  • Service Instances - Individual service instantiations
  • Service Bindings - Access credentials for instances
  • Service Plans - Capability sets offered by services
  • Service Offerings - Service advertisements from brokers
SAP Service Manager是SAP BTP中服务代理与平台的中央注册中心
核心资源:
  • 平台 - 运行应用的支持OSBAPI的系统
  • 服务代理 - 发布服务目录的中介
  • 服务实例 - 单个服务的实例化对象
  • 服务绑定 - 实例的访问凭证
  • 服务计划 - 服务提供的能力集合
  • 服务产品 - 代理发布的服务广告

Service Manager Plans

服务管理器计划

PlanPurposeScopes
subaccount-adminFull management10 scopes (manage + read)
subaccount-auditRead-only monitoring6 scopes
containerIsolated management7 scopes
计划用途权限范围
subaccount-admin完整管理权限10项权限范围(管理+读取)
subaccount-audit只读监控6项权限范围
container隔离管理7项权限范围

Roles

角色

  • Subaccount Service Administrator - Full CRUD on resources
  • Subaccount Service Viewer - Read-only access (Feature Set B)

  • 子账户服务管理员 - 对资源拥有完整CRUD权限
  • 子账户服务查看者 - 只读访问权限(Feature Set B)

Cloud Foundry Operations

Cloud Foundry操作

Service Instance & Binding

服务实例与绑定

Via Cockpit: Services > Instances > Create > Select service/plan > Cloud Foundry runtime
Via CF CLI:
bash
undefined
通过控制台: 服务 > 实例 > 创建 > 选择服务/计划 > Cloud Foundry运行时
通过CF CLI:
bash
undefined

Create instance

Create instance

cf create-service <service> <plan> <instance-name>
cf create-service <service> <plan> <instance-name>

Bind to app

Bind to app

cf bind-service <app-name> <instance-name>
cf bind-service <app-name> <instance-name>

Create service key (external access)

Create service key (external access)

cf create-service-key <instance-name> <key-name>

---
cf create-service-key <instance-name> <key-name>

---

Kubernetes Operations

Kubernetes操作

Prerequisites

前置条件

  • Kubernetes cluster with kubectl v1.7+
  • Helm v3.1.2+
  • SMCTL v1.10.1+
  • 安装kubectl v1.7+的Kubernetes集群
  • Helm v3.1.2+
  • SMCTL v1.10.1+

Setup Service Operator

配置Service Operator

1. Install cert-manager:
bash
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.12.0/cert-manager.yaml
2. Create Service Manager resources:
bash
smctl provision sm-operator service-manager service-operator-access --mode sync
smctl bind sm-operator sm-operator-binding --mode sync
smctl get-binding sm-operator-binding -o json
3. Deploy operator:
bash
helm repo add sap-btp-operator https://sap.github.io/sap-btp-service-operator/
helm install sap-btp-operator sap-btp-operator/sap-btp-operator \
  --namespace sap-btp-operator --create-namespace \
  --set manager.secret.clientid=<id> \
  --set manager.secret.clientsecret=<secret>
1. 安装cert-manager:
bash
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.12.0/cert-manager.yaml
2. 创建服务管理器资源:
bash
smctl provision sm-operator service-manager service-operator-access --mode sync
smctl bind sm-operator sm-operator-binding --mode sync
smctl get-binding sm-operator-binding -o json
3. 部署Operator:
bash
helm repo add sap-btp-operator https://sap.github.io/sap-btp-service-operator/
helm install sap-btp-operator sap-btp-operator/sap-btp-operator \
  --namespace sap-btp-operator --create-namespace \
  --set manager.secret.clientid=<id> \
  --set manager.secret.clientsecret=<secret>

Create Resources

创建资源

ServiceInstance:
yaml
apiVersion: services.cloud.sap.com/v1alpha1
kind: ServiceInstance
metadata:
  name: my-service-instance
spec:
  serviceOfferingName: <service-offering>
  servicePlanName: <plan-name>
ServiceBinding:
yaml
apiVersion: services.cloud.sap.com/v1alpha1
kind: ServiceBinding
metadata:
  name: my-binding
spec:
  serviceInstanceName: my-service-instance
Reference: See
references/kubernetes-operator.md
for complete guide.

ServiceInstance:
yaml
apiVersion: services.cloud.sap.com/v1alpha1
kind: ServiceInstance
metadata:
  name: my-service-instance
spec:
  serviceOfferingName: <service-offering>
  servicePlanName: <plan-name>
ServiceBinding:
yaml
apiVersion: services.cloud.sap.com/v1alpha1
kind: ServiceBinding
metadata:
  name: my-binding
spec:
  serviceInstanceName: my-service-instance
参考: 完整指南请查看
references/kubernetes-operator.md

BTP CLI Operations

BTP CLI操作

Alternative to SMCTL using the unified BTP CLI:
bash
undefined
作为SMCTL的替代方案,使用统一的BTP CLI:
bash
undefined

Create instance

Create instance

btp create services/instance
--subaccount <subaccount-id>
--service <service-name>
--plan <plan-id>
--parameters '{"key":"value"}'
--labels '{"env":["dev"]}'
btp create services/instance
--subaccount <subaccount-id>
--service <service-name>
--plan <plan-id>
--parameters '{"key":"value"}'
--labels '{"env":["dev"]}'

Get instance details

Get instance details

btp get services/instance <instance-id>
--subaccount <subaccount-id>
--show-parameters
btp get services/instance <instance-id>
--subaccount <subaccount-id>
--show-parameters

Create binding

Create binding

btp create services/binding
--subaccount <subaccount-id>
--binding <binding-name>
--service-instance <instance-id>
btp create services/binding
--subaccount <subaccount-id>
--binding <binding-name>
--service-instance <instance-id>

Platform management

Platform management

btp list services/platform --subaccount <id> btp register services/platform --subaccount <id> --name <name> --type <type> btp unregister services/platform <platform-id> --subaccount <id>

---
btp list services/platform --subaccount <id> btp register services/platform --subaccount <id> --name <name> --type <type> btp unregister services/platform <platform-id> --subaccount <id>

---

API Operations

API操作

Retrieve OAuth2 Token

获取OAuth2令牌

bash
curl '<uaa_url>/oauth/token' -X POST \
  -H 'Accept: application/json' \
  -d 'grant_type=client_credentials&client_id=<clientid>&client_secret=<clientsecret>'
Response:
json
{
  "access_token": "<token>",
  "token_type": "bearer",
  "expires_in": 43199,
  "scope": "<xsappname>.job.read <xsappname>.event.read"
}
bash
curl '<uaa_url>/oauth/token' -X POST \
  -H 'Accept: application/json' \
  -d 'grant_type=client_credentials&client_id=<clientid>&client_secret=<clientsecret>'
响应:
json
{
  "access_token": "<token>",
  "token_type": "bearer",
  "expires_in": 43199,
  "scope": "<xsappname>.job.read <xsappname>.event.read"
}

API Base URI

API基础URI

https://service-manager.cfapps.<region>.hana.ondemand.com/v1/
https://service-manager.cfapps.<region>.hana.ondemand.com/v1/

Rate Limiting

速率限制

Three concurrent tiers enforced:
  • Level 1: All APIs - 10,000/hour, 1,000/minute
  • Level 2: Resource-specific - 1,000-6,000/hour
  • Level 3: Instance operations - 50-6,000/hour
HTTP 429 returned with
Retry-After
header when limits exceeded.
实施三级并发限制:
  • Level 1: 所有API - 10,000次/小时,1,000次/分钟
  • Level 2: 特定资源API - 1,000-6,000次/小时
  • Level 3: 实例操作API - 50-6,000次/小时
超出限制时返回HTTP 429,并附带
Retry-After
头部。

Filtering

过滤

Query parameters:
  • fieldQuery
    - Filter by resource attributes
  • labelQuery
    - Filter by resource labels
  • Operators:
    eq
    ,
    ne
    ,
    in
    ,
    contains
    , etc.
Reference: See
references/rate-limiting-filtering.md
for complete rate limits and filtering details.

查询参数:
  • fieldQuery
    - 按资源属性过滤
  • labelQuery
    - 按资源标签过滤
  • 操作符:
    eq
    ,
    ne
    ,
    in
    ,
    contains
参考: 完整速率限制与过滤详情请查看
references/rate-limiting-filtering.md

SMCTL Command Reference

SMCTL命令参考

Key Commands

核心命令

CategoryCommandsDescription
Authentication
login
,
logout
Manage sessions
Instances
provision
,
deprovision
,
list-instances
Service instance lifecycle
Bindings
bind
,
unbind
,
list-bindings
Service binding management
Brokers
register-broker
,
update-broker
Service broker operations
Platforms
register-platform
,
list-platforms
Platform registration
Marketplace
marketplace
Browse service offerings
分类命令描述
认证
login
,
logout
管理会话
实例
provision
,
deprovision
,
list-instances
服务实例生命周期管理
绑定
bind
,
unbind
,
list-bindings
服务绑定管理
代理
register-broker
,
update-broker
服务代理操作
平台
register-platform
,
list-platforms
平台注册
市场
marketplace
浏览服务产品

Common Flags

通用参数

  • --mode sync/async
    - Execution mode (default: async)
  • -c, --parameters
    - JSON configuration
  • -o, --output
    - Output format (json, yaml, text)
  • -v, --verbose
    - Detailed output
Reference: See
references/smctl-commands.md
for complete command reference with all flags and examples.

  • --mode sync/async
    - 执行模式(默认:异步)
  • -c, --parameters
    - JSON配置
  • -o, --output
    - 输出格式(json, yaml, text)
  • -v, --verbose
    - 详细输出
参考: 完整命令参考及所有参数与示例请查看
references/smctl-commands.md

Common Operations

常见操作

Check Async Operation Status

检查异步操作状态

bash
undefined
bash
undefined

Get operation URL from provision/bind response

Get operation URL from provision/bind response

smctl status /v1/service_instances/<id>/operations/<op-id>

API:
GET /v1/{resourceType}/{resourceID}/operations/{operationID}

Response states: `in progress`, `succeeded`, `failed`
smctl status /v1/service_instances/<id>/operations/<op-id>

API:
GET /v1/{resourceType}/{resourceID}/operations/{operationID}

响应状态: `in progress`, `succeeded`, `failed`

Delete Service Instance

删除服务实例

Prerequisites:
  1. Remove all service bindings
  2. Remove all service keys
  3. Instance not bound to applications
bash
undefined
前置条件:
  1. 移除所有服务绑定
  2. 移除所有服务密钥
  3. 实例未绑定到应用
bash
undefined

Force delete without confirmation

Force delete without confirmation

smctl deprovision my-instance -f
smctl deprovision my-instance -f

Sync mode

Sync mode

smctl deprovision my-instance --mode sync

**Note**: Kyma/Kubernetes instances cannot be deleted from BTP cockpit.
smctl deprovision my-instance --mode sync

**注意**: Kyma/Kubernetes实例无法从BTP控制台删除。

Assign Administrator Role

分配管理员角色

  1. Navigate to subaccount > Security > Trust Configuration > SAP ID Service
  2. Enter user email
  3. Click Show Assignments > Add User
  4. Assign Role Collection > Select "Subaccount Service Administrator"

  1. 导航到子账户 > 安全 > 信任配置 > SAP ID Service
  2. 输入用户邮箱
  3. 点击显示分配 > 添加用户
  4. 分配角色集合 > 选择“Subaccount Service Administrator”

Troubleshooting

故障排查

Issue: Cannot see service in marketplace

问题:在市场中看不到服务

Check:
  1. Service entitlement added to subaccount?
  2. Quota assigned (enterprise accounts)?
  3. Correct region selected?
检查项:
  1. 子账户是否已添加服务授权?
  2. 是否已分配配额(企业账户)?
  3. 是否选择了正确的区域?

Issue: Instance creation fails

问题:实例创建失败

Check:
  1. Valid plan selected?
  2. Parameters JSON syntax correct?
  3. Quota not exceeded?
  4. Required dependencies provisioned?
Debug:
bash
smctl get-instance <name> -o json
检查项:
  1. 是否选择了有效的计划?
  2. 参数JSON语法是否正确?
  3. 是否超出配额?
  4. 是否已配置所需依赖?
调试:
bash
smctl get-instance <name> -o json

Check "last_operation" for error details

Check "last_operation" for error details

undefined
undefined

Issue: Rate limit exceeded (HTTP 429)

问题:超出速率限制(HTTP 429)

Solution:
  1. Check
    Retry-After
    header
  2. Implement exponential backoff
  3. Batch operations where possible
  4. Consider caching responses
解决方案:
  1. 检查
    Retry-After
    头部
  2. 实现指数退避机制
  3. 尽可能批量操作
  4. 考虑缓存响应

Issue: Binding credentials missing

问题:绑定凭证缺失

Check:
  1. Binding completed successfully?
  2. Correct binding name referenced?
  3. Secret created (Kubernetes)?
bash
undefined
检查项:
  1. 绑定是否成功完成?
  2. 是否引用了正确的绑定名称?
  3. 是否已创建Secret(Kubernetes)?
bash
undefined

SMCTL

SMCTL

smctl get-binding <name> -o json
smctl get-binding <name> -o json

Kubernetes

Kubernetes

kubectl get secrets <binding-name> -o yaml
undefined
kubectl get secrets <binding-name> -o yaml
undefined

Issue: X.509 authentication fails

问题:X.509认证失败

Check:
  1. Certificate not expired?
  2. Correct certificate/key pair?
  3. Certificate chain complete?
  4. Client ID matches certificate?

检查项:
  1. 证书是否过期?
  2. 证书/密钥对是否正确?
  3. 证书链是否完整?
  4. 客户端ID是否与证书匹配?

Best Practices

最佳实践

1. Use Sync Mode for Scripts

1. 脚本中使用同步模式

bash
smctl provision my-instance service plan --mode sync
bash
smctl provision my-instance service plan --mode sync

2. Label Resources

2. 为资源添加标签

bash
smctl provision my-instance service plan \
  -c '{}' \
  --labels '{"environment":"production","team":"platform"}'
bash
smctl provision my-instance service plan \
  -c '{}' \
  --labels '{"environment":"production","team":"platform"}'

3. Use Service Keys for External Access

3. 使用服务密钥供外部访问

Instead of binding to apps, create service keys for external clients.
为外部客户端创建服务密钥,而非绑定到应用。

4. Implement Retry Logic

4. 实现重试逻辑

For async operations, poll status with exponential backoff.
对于异步操作,使用指数退避机制轮询状态。

5. Choose Appropriate Plans

5. 选择合适的计划

  • subaccount-admin
    : Full management
  • subaccount-audit
    : Read-only monitoring
  • container
    : Isolated per-instance access
  • subaccount-admin
    : 完整管理权限
  • subaccount-audit
    : 只读监控
  • container
    : 按实例隔离访问

6. Secure Credentials

6. 保护凭证安全

  • Rotate service keys periodically
  • Use X.509 for production
  • Store credentials in secret managers

  • 定期轮换服务密钥
  • 生产环境使用X.509
  • 将凭证存储在密钥管理器中

Bundled Resources

配套资源

Templates (5 files)

模板(5个文件)

Ready-to-use templates in
templates/
directory:
  • service-instance-cf.json - Cloud Foundry instance parameters
  • service-binding-cf.json - Cloud Foundry binding parameters
  • service-instance-k8s.yaml - Kubernetes ServiceInstance CRD
  • service-binding-k8s.yaml - Kubernetes ServiceBinding CRD
  • oauth-token-request.sh - OAuth2 token retrieval script
templates/
目录下的即用型模板:
  • service-instance-cf.json - Cloud Foundry实例参数
  • service-binding-cf.json - Cloud Foundry绑定参数
  • service-instance-k8s.yaml - Kubernetes ServiceInstance CRD
  • service-binding-k8s.yaml - Kubernetes ServiceBinding CRD
  • oauth-token-request.sh - OAuth2令牌获取脚本

Reference Documentation (7 files)

参考文档(7个文件)

Detailed documentation in
references/
directory:
  1. api-reference.md - Complete API endpoints, operations, and examples
  2. smctl-commands.md - Full SMCTL CLI reference with all flags and usage
  3. btp-cli-commands.md - Comprehensive BTP CLI command reference
  4. kubernetes-operator.md - Service Operator setup, CRDs, migration guide
  5. rate-limiting-filtering.md - Rate limits, filtering, and best practices
  6. roles-permissions.md - Plans, roles, scopes, and authorization details
  7. service-catalog-legacy.md - Legacy svcat and broker proxy setup (deprecated)
references/
目录下的详细文档:
  1. api-reference.md - 完整API端点、操作及示例
  2. smctl-commands.md - 包含所有参数与用法的SMCTL CLI完整参考
  3. btp-cli-commands.md - 全面的BTP CLI命令参考
  4. kubernetes-operator.md - Service Operator配置、CRD及迁移指南
  5. rate-limiting-filtering.md - 速率限制、过滤及最佳实践
  6. roles-permissions.md - 计划、角色、权限范围及授权详情
  7. service-catalog-legacy.md - 旧版svcat及代理代理配置(已弃用)

Quick Reference Templates

快速参考模板



Official Documentation Links

官方文档链接

Primary Resources

核心资源

API Documentation

API文档

Related Documentation

相关文档

Instructions for Claude

Claude使用说明

When using this skill:
  1. Identify the environment - Cloud Foundry, Kyma, Kubernetes, or Other
  2. Choose appropriate tool - SMCTL, BTP CLI, CF CLI, kubectl, or cockpit
  3. Use correct authentication - OAuth2, X.509, or interactive
  4. Check rate limits - Implement retry logic for bulk operations
  5. Verify async completion - Poll status for provision/bind operations
  6. Reference templates - Use provided templates for common operations
  7. Check reference files - Detailed information in references/ directory
For Cloud Foundry: Use
cf
CLI or cockpit For Kubernetes: Use ServiceInstance/ServiceBinding CRDs For Other environments: Use SMCTL or BTP CLI For API access: Retrieve OAuth2 token first
When troubleshooting:
  • Check operation status for async operations
  • Verify credentials and permissions
  • Review rate limits if getting 429 errors
  • Check prerequisites (entitlements, quotas, dependencies)

License: GPL-3.0 Version: 1.1.1 Maintained by: Eduard Jiglau Email: hello@sap-ai-skills.com Website: https://sap-ai-skills.com Repository: https://github.com/secondsky/sap-skills
使用本技能时:
  1. 识别环境 - Cloud Foundry、Kyma、Kubernetes或其他环境
  2. 选择合适工具 - SMCTL、BTP CLI、CF CLI、kubectl或控制台
  3. 使用正确认证方式 - OAuth2、X.509或交互式登录
  4. 检查速率限制 - 批量操作时实现重试逻辑
  5. 验证异步操作完成 - 轮询配置/绑定操作的状态
  6. 参考模板 - 使用提供的模板完成常见操作
  7. 查看参考文件 -
    references/
    目录下有详细信息
针对Cloud Foundry: 使用
cf
CLI或控制台 针对Kubernetes: 使用ServiceInstance/ServiceBinding CRD 针对其他环境: 使用SMCTL或BTP CLI 针对API访问: 先获取OAuth2令牌
故障排查时:
  • 检查异步操作的状态
  • 验证凭证与权限
  • 若收到429错误,查看速率限制
  • 检查前置条件(授权、配额、依赖)

许可证: GPL-3.0 版本: 1.1.1 维护者: Eduard Jiglau 邮箱: hello@sap-ai-skills.com 网站: https://sap-ai-skills.com 仓库: https://github.com/secondsky/sap-skills