A key file is a text file that contains the user’s password in a hashed format and the list of groups to which the user belongs.