check on secrets file, trigger exception