Break out of the loop once we find an APIKey with correct permissions