Completed
Looking at how my btplogin script works, making use of the 'pass' command
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Fun With SAP BTP Cloud Management Service and Core Services APIs
Automatically move to the next video in the Classroom when playback concludes
- 1 Welcome & introduction
- 2 Taking a quick look at the Core Service APIs on SAP API Business Hub
- 3 Focusing in on the "Regions for Global Account" API endpoint
- 4 Looking at how my btplogin script works, making use of the 'pass' command
- 5 Examining what "btp list accounts/available-region" gives us
- 6 Skimming the access token documentation URL above
- 7 Finding what our CF API endpoint is, via the btp CLI
- 8 Logging in with cf login
- 9 Creating an instance of the Cloud Management Service cis with the appropriate service plan central
- 10 Creating a service key for that instance
- 11 Storing the service key details cleaning the cruft away with sed and examining them
- 12 Looking at the OAuth 2.0 "password grant" which is used to protect the resources and how to request a token using that flow
- 13 Writing a 'gettoken' script to request an access token via the password grant flow
- 14 Calling 'gettoken' and examining the results
- 15 Writing a 'callapi' script to use the access token to call the Core Service API endpoint
- 16 Calling 'callapi' and receiving the data center data we've asked for
- 17 Comparing the JSON output from this API call with the JSON output of the btp CLI call and seeing that they are the same!