AMENDED AND RESTATED CREDIT AGREEMENT Dated as of November 1, 2013 among SOLARCITY CORPORATION, as the Borrower, THE SUBSIDIARIES OF THE BORROWER PARTY HERETO, as the Guarantors, BANK OF AMERICA, N.A., as Administrative Agent, Swingline Lender and L/C...