find_principal

ciecplib.kerberos.find_principal()

Determine the principal for an active kerberos credential.

Returns:

name (str) – The str representation of the Kerberos principal.

Raises:

RuntimeError – If no credential is found.