The main purpose of this legislative text is to authorize the President of the United States to award the Medal of Honor to Doris Miller posthumously. This recognition is for his acts of bravery while serving in the Navy during World War II, specifically during the attack on Pearl Harbor. Key provisions of the text include a finding that highlights Doris Miller's significant contributions and bravery during the war. It notes that he was initially assigned to non-combat roles due to racial discrimination but still performed heroically.