Posted on 04-28-2022 06:41 PM
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.
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
Posted on 04-29-2022 08:08 AM
Very Nice! Thank you!
Posted on 04-30-2022 01:43 AM
Very nice 👍