In the discretion of the authority, any issuance of revenue bonds may be secured by a trust indenture by and between the authority and a corporate trustee, which may be any trust company or bank having the powers of a trust company within or without the state. Either the resolution providing for the issuance of the revenue bonds or such trust indenture may contain such provisions for protecting and enforcing the rights and remedies of the bondholders as may be reasonable and proper and not in violation of law, including covenants setting forth the duties of the authority in relation to the acquisition and construction of the project, the maintenance, operation, repair, and insuring of the project, and the custody, safeguarding, and application of all moneys.