Fix secret instance and make easily configurable.