Forum Discussion

IvoryNomad's avatar
IvoryNomad
New Contributor
23 days ago

Announcing op-python and ivorynomad.onepassword

I've created a python module intended to ease use of 1password CLI in CI/CD and IaC environments.

https://pypi.org/project/op-python/

I've also created an ansible lookup plugin which leverages the op-python module to perform secrets retrieval for ansible playbooks.

https://galaxy.ansible.com/ui/repo/published/ivorynomad/onepassword/

I use these in my home lab environment where they have been useful to me; I hope they might be useful for others.

2 Replies

  • Hey IvoryNomad​

    Congratulations on creating and publishing your packages! We always love to hear how people are using the tools to create new and thoughtful implementations.

    Could you share your thought processes behind creating these and the 1Password tools / SDKs didn't quite fit your unique niche?

    Thanks again!
    Phil & the 1Password team!

    • IvoryNomad's avatar
      IvoryNomad
      New Contributor

      Hi Phil!

      To be honest, I was not aware the 1Password SDK even existed until a few weeks ago. Probably my fault, though I did go looking for solutions before I rolled my own.

      I rolled my own because I needed a way to retrieve secrets from vaults for my ansible playbooks. To make that happen I wrote the python module.

      Looking at the SDK, it probably does what I need. I've heard there's also some official ansible plugin, but I've not had a chance to look at that yet.

      Best regards,

      I