no idea how secure this is or what implications this could have but it's easy and works well for our use case.