westerveltco / django-opfield

A custom Django field for storing and securely accessing a 1Password vault item
https://django-opfield.westervelt.dev
MIT License
3 stars 0 forks source link

Add support for loading application settings from 1Password #22

Open joshuadavidthomas opened 4 months ago

joshuadavidthomas commented 4 months ago

Would expanding the scope of this project to allow setting application settings in a project's settings.py by reading from 1Password be worth the time to build?

This is obviously beyond the small use case I initially wrote this for, but I just had this thought and need to capture it so I don't forget.

For our applications I use a combination of an .env.prod file with a list of production runtime settings that each contain an op:// URI reference with a single step in deployment using the op inject command to dynamically load them. Would be nice to do away with that and just rely on some sort of functionality built in to a library.