check for correct key secret