btp CLI ------- https://tools.hana.ondemand.com/#cloud https://help.sap.com/products/BTP/65de2977205c403bbc107264b8eccf4b/7c6df2db6332419ea7a862191525377c.html btp help btp help list -- authentication btp login --url https://cpcli.cf.eu10.hana.ondemand.com --subdomain --user btp logout btp --info -- subaccount btp create accounts/subaccount --global-account --display-name --region --subdomain --used-for-production false --description btp list accounts/subaccount btp target --subaccount -- entitlements btp assign accounts/entitlement --to-subaccount --for-service sap-graph --plan free --enable true btp list accounts/entitlement -- services btp list services/offering btp list services/plan -- SAP Graph Windows PowerShell: btp create services/instance --name --offering-name sap-graph --plan-name free --parameters '{\"xs-security\": {\"xsappname\": \"\", \"oauth2-configuration\": {\"redirect-uris\": [\"http://localhost:*/**\"]}}}' Bash: btp create services/instance --name --offering-name sap-graph --plan-name free --parameters "{\"xs-security\": {\"xsappname\": \"\", \"oauth2-configuration\": {\"redirect-uris\": [\"http://localhost:*/**\"]}}}" btp list services/instance btp get services/instance --name Windows PowerShell: btp update services/instance --name --parameters '{\"xs-security\": {\"xsappname\": \"\", \"oauth2-configuration\": {\"redirect-uris\": [\"http://localhost:*/**\"]}}}' Bash: btp update services/instance --name --parameters "{\"xs-security\": {\"xsappname\": \"\", \"oauth2-configuration\": {\"redirect-uris\": [\"http://localhost:*/**\"]}}}" btp create services/binding --name -creds --instance-name btp --format json get services/bindings --name -creds > -creds.json btp create security/role-collection "Graph Key User" -- obtain sap-graph btp list security/role Windows PowerShell: btp add security/role SAP_Graph_Key_User --to-role-collection "Graph Key User" --of-role-template SAP_Graph_Key_User --of-app sap-graph! Bash: btp add security/role SAP_Graph_Key_User --to-role-collection "Graph Key User" --of-role-template SAP_Graph_Key_User --of-app sap-graph\! btp list security/user btp get security/user btp assign security/role-collection "Graph Key User" --to-user -- cloud connector technical user btp assign security/role-collection "Cloud Connector Administrator" --to-user --create-user-if-missing -- cloud foundry btp list accounts/subaccount btp assign accounts/entitlement --to-subaccount --for-service APPLICATION_RUNTIME --plan MEMORY --amount 1 btp list accounts/entitlement btp list accounts/available-environment Windows PowerShell: btp create accounts/environment-instance --display-name -cf --environment cloudfoundry --service cloudfoundry --plan standard --parameters '{\"instance_name\":\"\"}' Bash: btp create accounts/environment-instance --display-name -cf --environment cloudfoundry --service cloudfoundry --plan standard --parameters "{\"instance_name\":\"\"}" btp list accounts/environment-instance btp get accounts/environment-instance -- labels contains https://tools.hana.ondemand.com/#cloud https://github.com/cloudfoundry/cli cf api cf login -u cf create-space dev -o cf target -o -s dev cf push https://sap.github.io/cloud-mta-build-tool/ mbt build https://github.com/cloudfoundry-incubator/multiapps-cli-plugin cf add-plugin-repo CF-Community https://plugins.cloudfoundry.org cf install-plugin multiapps cf deploy cf mtas -- teardown -- cloud foundry cf undeploy --delete-services --delete-service-keys cf delete cf delete-service cf delete-space dev -o btp list accounts/environment-instance btp delete accounts/environment-instance -- SAP Graph graphctl delete config btp list services/binding btp delete services/binding --name -creds btp list services/instance btp delete services/instance --name -- subaccount btp list accounts/subaccount btp delete accounts/subaccount