Enables you to view entries in the local credentials cache and key table.
klist [ [-c] [-f] [-e] [-a [-n]] ] [-k [-t] [-K] ] [name] [-help]]
The klist
tool displays the entries in the local credentials cache and key table. After you modify the credentials cache with the kinit
tool or modify the keytab with the ktab
tool, the only way to verify the changes is to view the contents of the credentials cache or keytab using the klist
tool. The klist
tool does not change the Kerberos database.
List the credential cache entries. The following are the options for credential cache entries:
Show credential flags.
Show the encryption type.
Show addresses.
If the -a
option is specified, do not reverse resolve addresses.
List the keytab entries. The following are the options for keytab entries:
Show keytab entry timestamps.
Show keytab entry DES keys.
Specifies the credential cache name or the keytab name. If the name is not specified, the klist
tool uses default values for the cache name and keytab. The kinit
documentation lists these default values.
Displays instructions.
List entries in the keytable specified including keytab entry timestamps and DES keys:
klist -k -t -K FILE:\temp\mykrb5cc
List entries in the credentials cache specified including credentials flag and address list:
klist -c -f FILE:\temp\mykrb5cc