executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
btp-service-managerSAP BTP Service Manager — service instance lifecycle, binding, service keys, instance sharing, and provisioning troubleshooting.
Independent GitHub snapshot · Automated classification · Original documentation governs
Lifecycle management for BTP service instances: create, bind, key, share, unbind, delete.
cf marketplace # list all available services
cf marketplace -s hana # show plans for a specific service
# Example: HANA HDI container
cf create-service hana hdi-shared my-hdi
# Example: with custom parameters (JSON)
cf create-service hana hdi-shared my-hdi -c '{"database_id":"abc-123"}'
# Check provisioning status (wait for "create succeeded")
cf services
cf create-service-key my-hdi my-key
cf service-key my-hdi my-key # view credentials JSON
Use service keys when an external tool or different subaccount needs access.
cf bind-service my-app my-hdi
cf restage my-app # restart to pick up VCAP_SERVICES
# Verify binding injected into environment
cf env my-app | grep -A 20 hana
cf share-service my-hdi -s other-space
The shared instance is read-accessible in the target space for binding.
cf unbind-service my-app my-hdi # unbind first
cf delete-service-key my-hdi my-key # delete keys
cf delete-service my-hdi # then delete instance
VCAP_SERVICES, re-bind to rotate. Use for app-internal access.Instance deletion fails with bindings active
cf delete-service.Lite/free plan cannot be upgraded in place
Service instances are subaccount-scoped
cf share-service for cross-space access within the same subaccount. For cross-subaccount, use service keys or multitenant sharing.Provisioning stuck in "create in progress"
Service key credentials exposed
# Instance is provisioned
cf services | grep my-hdi # status should show "create succeeded"
# Service key is valid
cf service-key my-hdi my-key # should return JSON with credentials
# App has the binding
cf env my-app | grep -A 5 hana # VCAP_SERVICES should contain the instance
# Shared instance visible in other space
cf target -s other-space && cf services | grep my-hdi