I know I recommended that you put this information on the block instead of the course, but I subsequently talked to Lyla about it, and she thought it was important to store the key and secret as few times as possible.  A course won't have 20 textbooks, but it may have 20 references to the same textbook, for example.