The following example uses the list_principals command of kadmin to list all the principals that match test*. Wildcards can be used with the list_principals command.
kadmin: list_principals test* test1@ACME.COM test2@ACME.COM kadmin: quit