PivotalServices.Kerberos.Client.Manager 1.0.2

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package PivotalServices.Kerberos.Client.Manager --version 1.0.2
NuGet\Install-Package PivotalServices.Kerberos.Client.Manager -Version 1.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PivotalServices.Kerberos.Client.Manager" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PivotalServices.Kerberos.Client.Manager --version 1.0.2
#r "nuget: PivotalServices.Kerberos.Client.Manager, 1.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PivotalServices.Kerberos.Client.Manager as a Cake Addin
#addin nuget:?package=PivotalServices.Kerberos.Client.Manager&version=1.0.2

// Install PivotalServices.Kerberos.Client.Manager as a Cake Tool
#tool nuget:?package=PivotalServices.Kerberos.Client.Manager&version=1.0.2

A simple library to add kerberos auth capabilities (mentioned below) for a dotnet app running in a non domain joined linux container. Most of the code is copied from Andrew Stackhov's Kerberos Buildpack repo, and thanks to Andrew for all the research and code he had done for this.

Features

  1. Create kerberos configuration file, if not exists (preferable to use an existing one instead of defaults)
  2. Create kerberos keytab file based on the given service account credentials
  3. Obtain the ticket and stores in cache
  4. Refreshes the ticket to keep it updated

Important Note: I just created this library for my experimental use, but incase you need more info, you can always refer to the original code that Andrew has on his repo. You can also check NMica.Security for a better library to take away the burden of authentication from the application as a gateway/proxy.

For usage instructions - Please refer to the README
Kindly raise any issues at Project Issues
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2 420 1/13/2023