- Skill ID
- secondsky/sap-skills/sap-btp-service-manager
- Publisher
- secondsky
- Repository
- sap-skills
- Installs
- 0
- Files
- 15
- License
- GPL-3.0
- Synced
- Sep 23, 2026
Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.
secondsky/sap-skills/sap-btp-service-managerInstalls these files- README.md
- SKILL.md
- agents/openai.yaml
- references/api-reference.md
- references/btp-cli-commands.md
- references/kubernetes-operator.md
- references/rate-limiting-filtering.md
- references/roles-permissions.md
- references/service-catalog-legacy.md
- references/smctl-commands.md
- templates/oauth-token-request.sh
- templates/service-binding-cf.json
- templates/service-binding-k8s.yaml
- templates/service-instance-cf.json
- templates/service-instance-k8s.yaml
What this skill tells the agent
SAP BTP Service Manager Skill
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.
Table of Contents
- When to Use This Skill
- Quick Start
- Core Concepts
- Cloud Foundry Operations
- Kubernetes Operations
- SMCTL CLI Reference
- API Reference
- Bundled Resources
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
Quick Start
1. Install 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):
# Install via Go (preferred approach)
go install github.com/Peripli/service-manager-cli@latest
# Add to PATH (if not already)
export PATH=$PATH:$(go env GOPATH)/bin
smctl --versionAlternative Method (Prebuilt Binary):
# Download from: https://github.com/Peripli/service-manager-cli/releases/latest
tar -xzf smctl-*.tar.gz && chmod +x smctl
sudo mv smctl /usr/local/bin/ && smctl --versionNote: 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.
2. Login
# Interactive login
smctl login -a https://service-manager.cfapps.<region>.hana.ondemand.com \
--param subdomain=<subdomain>
# 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>3. Basic Operations
# Browse services
smctl marketplace
# Create instance (async)
smctl provision my-instance <service> <plan>
# Create binding
smctl bind my-instance my-bindingCore 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
Service Manager Plans
| Plan | Purpose | Scopes |
|---|---|---|
| subaccount-admin | Full management | 10 scopes (manage + read) |
| subaccount-audit | Read-only monitoring | 6 scopes |
| container | Isolated management | 7 scopes |
Roles
- Subaccount Service Administrator - Full CRUD on resources
- Subaccount Service Viewer - Read-only access (Feature Set B)
Cloud Foundry Operations
Service Instance & Binding
Via Cockpit: Services > Instances > Create > Select service/plan > Cloud Foundry runtime
Via CF CLI:
# Create instance
cf create-service <service> <plan> <instance-name>
# Bind to app
cf bind-service <app-name> <instance-name>
# Create service key (external access)
cf create-service-key <instance-name> <key-name>Kubernetes Operations
Prerequisites
- Kubernetes cluster with kubectl v1.7+
- Helm v3.1.2+
- SMCTL v1.10.1+
Setup Service Operator
1. Install cert-manager:
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.12.0/cert-manager.yaml2. Create Service Manager resources:
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 json3. Deploy operator:
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:
apiVersion: services.cloud.sap.com/v1alpha1
kind: ServiceInstance
metadata:
name: my-service-instance
spec:
serviceOfferingName: <service-offering>
servicePlanName: <plan-name>ServiceBinding:
apiVersion: services.cloud.sap.com/v1alpha1
kind: ServiceBinding
metadata:
name: my-binding
spec:
serviceInstanceName: my-service-instanceReference: See references/kubernetes-operator.md for complete guide.
BTP CLI Operations
Alternative to SMCTL using the unified BTP CLI:
# Create instance
btp create services/instance \
--subaccount <subaccount-id> \
--service <service-name> \
--plan <plan-id> \
--parameters '{"key":"value"}' \
--labels '{"env":["dev"]}'
# Get instance details
btp get services/instance <instance-id> \
--subaccount <subaccount-id> \
--show-parameters
# Create binding
btp create services/binding \
--subaccount <subaccount-id> \
--binding <binding-name> \
--service-instance <instance-id>
# 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>API Operations
Retrieve OAuth2 Token
curl '<uaa_url>/oauth/token' -X POST \
-H 'Accept: application/json' \
-d 'grant_type=client_credentials&client_id=<clientid>&client_secret=<clientsecret>'Response:
{
"access_token": "<token>",
"token_type": "bearer",
"expires_in": 43199,
"scope": "<xsappname>.job.read <xsappname>.event.read"
}API Base URI
https://service-manager.cfapps.<region>.hana.ondemand.com/v1/
Rate Limiting
Three concurrent tiers enforced:
More from secondsky
Use this skill in a project
Open any RiverX project, search the Skills panel for secondsky/sap-skills/sap-btp-service-manager, and install it in one click.
