-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Would really like to see functionality added for secure API access. I realize ideally this would come in the form of the Jamf binary being able to generate device specific api client credentials "on the fly" to be used by JSM or whatever (or just allow the jamf binary to update arbirary EAs via a binary command). However, alternatively, they could be encrypted using the same method some others use: which is to generate API client and secret keys, and a key pair (just sha512 or whatever). The public key would be used to do the encryption of the credentials, and the private key would get copied to the JSM computer. The credentials would then be in the config profile in an encrypted state.
JSM then can use that private key to decrypt the credentials, and delete things after the run.
Options once this is implemented would be anything from dynamically grabbing buildings/departments from Jamf, to being able to populate EAs via an API call.
Just a thought. But with more and more effort being put toward the Jamf API, it sure would be nice to leverage it. =) This would also bring it into parity with old school DEPNotify where the driving script could do anything.