Add sanity check to make sure that the application secrets configuration has the right permissions.