jamfAuth - Make API Auth Simple and Secure

therealmacjeezy
New Contributor III

Howdy Jamf Nation!

 

Do you use Python to interact with the Jamf Pro API? If so, how are you handling the credentials?

 

I think the most common method is to base64 encode it and save it as a variable in the script. I wanted to avoid having anything credential related inside the script, so I created jamfAuth.

 


jamfAuth is a small Python 3 package that once setup, handles the API Authentication for any project you import it to and stores any API credentials in the local keychain.

jamfAuth Example and Usage 

 PyPi Page 

jamfAuth GitHub Repo 

 

 

Let me know if you have any questions about it! The next release will include Ubuntu 20.04 and RHEL/CentOS/OL 8 support (which is being tested currently :D!)

 

Cheers!

- Josh

"Saying 'uhh..' is the human equivalent to buffering."
2 REPLIES 2

Hugonaut
Valued Contributor II

Very Nice! Thank you!

________________
Looking for a Jamf Managed Service Provider? Look no further than Rocketman
________________


Virtual MacAdmins Monthly Meetup - First Friday, Every Month

MatG
Contributor III

Very nice 👍