Documentation
¶
Overview ¶
Package kerberos contains utilities to obtain kerberos tickets, query the kerberos cache, and switch caches in the case of multiple kerberos caches
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPrincipal ¶
func CheckPrincipal(ctx context.Context, checkPrincipal string, environ environment.CommandEnvironment) error
CheckPrincipal verifies that the kerberos ticket principal matches checkPrincipal
func GetTicket ¶
func GetTicket(ctx context.Context, keytabPath, userPrincipal string, environ environment.CommandEnvironment) error
GetTicket uses the keytabPath and userPrincipal to obtain a kerberos ticket
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.