The same pronouncenation can have several different meanings in Japanese.
In this case, Kojiki refer to 古事記 ("Records of Ancient Matters") which is the oldest extant chronicle in Japan, and it's known as an important historical document as well.
It's described here
https://en.wikipedia.org/wiki/Kojiki