Adjust saving of secrets