first stage of remote queue processing with a secret