grokability / jamf2snipe

Import and sync assets from a JAMFPro instance to Snipe-IT asset management.
MIT License
113 stars 55 forks source link

Support environment variables to pass config values #83

Open jetkiwi opened 2 years ago

jetkiwi commented 2 years ago

Being ability to pass config variables like credentials through environment variables would make it easier and more secure to run jamf2snipe in a container or serverless environment.

For example, the following could be passed as JAMF2SNIPE_JAMF_PASSWORD. https://github.com/grokability/jamf2snipe/blob/bededc3f6ec9cdc62cbac69e301cfa4e1cb2cd7b/settings.conf.example#L1-L4

59 would have been one way to achieve this in a different way, however the change seems to have dissapeared.

kMikaZu commented 11 months ago

Using the 1Password CLI for that and a 1Password Service Account.

kMikaZu commented 3 months ago

Any news on this matter? Is this taken into evaluation?