kerberos

package
v0.16.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL