Am I understanding correctly that everyone with read access to your version control also has your production secrets?
I'm not parent commenter, but that's how I've done it before. The file on disk has the appropriate permissions etc.
I'm sure there are issues with this, so if anyone can enlighten me I'd be interested.