A trust is a legal agreement that gives authorization to another to manage assets within the trust on your behalf. The trust also identifies beneficiaries who would benefit during your lifetime or after you pass away. There are certain types of irrevocable trusts that can be used to assist someone in qualifying for Medicaid.