grokability / jamf2snipe

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

1Password Secrets integration #130

Open kMikaZu opened 1 week ago

kMikaZu commented 1 week ago

Can somebody point me into the right direction to implement the use of 1Password Secrets?

Thanks!

ParadoxGuitarist commented 1 week ago

I'd suggest using the ci/cd implementation to store the entire config file as the secret and have the workflow write it in place.

Depending on where you're running this, you could use the k8s secret management to do something similar and map in the config file to a pod on a cron-job that runs the script as well.

If you're looking for more specific help, you'll likely need to provide more information about your setup since even the 1Password docs fork their docs based on if you use a Connect server or not, which you didn't mention: https://developer.1password.com/docs/secrets-automation/

1Password Secrets Automation | 1Password Developer
Introducing 1Password Secrets Automation workflows. Use a 1Password Service Account or Connect server to secure, orchestrate, and manage your infrastructure secrets.