What do these keys do?
WordPress uses them to sign the cookies that keep you logged in. Anyone holding the keys could in theory forge a session, so they stay secret and get replaced at any doubt. You do not need to store them anywhere else; you will never be asked for them.
To protect the file itself, see protecting wp-config; for a complete file use the wp-config generator.