From Basic to Bearer: A Map to Migration Magic
[T]he three great virtues of a programmer [are]: laziness, impatience, and hubris."
~Larry Wall, “Programming Perl”
Then I must be the best programmer evah!
Last March I reported at our monthly meetup that changes were coming to the Jamf Classic API and that it was time to start converting all of our Jamf scripts that made API calls from Basic Authentication to Token Authentication. Jamf had just released 10.35.0 and in the release notes there was the following paragraph:
You can now use the Classic API to authenticate using Basic authentication or a Bearer Token retrieved through the /v1/auth/token Jamf Pro API endpoint for enhanced security. For information on Bearer Token authentication, see the Jamf developer resources: https://developer.jamf.com/jamf-pro/docs/classic-api-authentication-changes