Skip to main content
Question

jamfAuth - Make API Auth Simple and Secure


therealmacjeezy
Forum|alt.badge.img+5

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

2 replies

Hugonaut
Forum|alt.badge.img+15
  • Esteemed Contributor
  • 574 replies
  • April 29, 2022

Very Nice! Thank you!


Forum|alt.badge.img+10
  • Valued Contributor
  • 193 replies
  • April 30, 2022

Very nice 👍


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings