Wallet...in::MIT(3pm)
π Wallet::Kadmin::MIT β the perl manual, but make it cute π
okay so bestie, you're looking at Wallet::Kadmin::MIT, a 3pm manual page from the User Contributed Perl Documentation collection. it's giving β¨Kerberos admin but make it a Perl moduleβ¨ and honestly? it ate.
πΈ NAME πΈ
Wallet::Kadmin::MIT β the Wallet Kerberos administration API, MIT flavor π
β¨ SYNOPSIS β¨
lowkey just look at it:
my $kadmin = Wallet::Kadmin::MIT->new;
$kadmin->create ('host/foo.example.com');
my $data = $kadmin->keytab_rekey ('host/foo.example.com',
'aes256-cts-hmac-sha1-96');
$data = $kadmin->keytab ('host/foo.example.com');
my $exists = $kadmin->exists ('host/oldshell.example.com');
$kadmin->destroy ('host/oldshell.example.com') if $exists;
no cap, that's the whole vibe π
π¦ DESCRIPTION π¦
so Wallet::Kadmin::MIT implements the Wallet::Kadmin API for MIT Kerberos, and it's the girl that handles creating and deleting principals and making keytabs. it provides the API documented in Wallet::Kadmin for an MIT Kerberos KDC. iconic behavior, truly.
now here's the tea β β MIT Kerberos does not provide any method via the kadmin network protocol to retrieve a keytab for a principal without rekeying it. so the keytab() method (as opposed to keytab_rekey(), which does rekey the principal) is implemented using a remctl backend. for that method β the one used for unchanging keytab objects β to actually work, the necessary wallet configuration and remctl interface on the KDC have to be set up. no setup, no keytab, periodt. π€
and to use this class at all? several configuration parameters must be set, bestie. go read "KEYTAB OBJECT CONFIGURATION" in Wallet::Config for the details. iykyk. π«Ά
π FILES π
KEYTAB_TMP/keytab.<pid>β the keytab gets created in this file and then read into memory.KEYTAB_TMPis set in the wallet configuration, and<pid>is the process ID of the current process. after it's read, the file is unlinked. so it's like, here for a good time not a long time π
π LIMITATIONS π
ngl, currently this implementation calls an external kadmin program instead of using a native Perl module, which means it requires that kadmin be installed β and it parses its output. so yeah, it may miss some error conditions if the output of kadmin ever changes. fr fr, that's a real caveat, not me being dramatic. π
π SEE ALSO π
this module is part of the wallet system, and the current version is available from <https://www.eyrie.org/~eagle/software/wallet/>. go get her π
π AUTHORS π
Russ Allbery <eagle@eyrie.org> and Jon Robertson <jonrober@stanford.edu>. absolute legends, we stan π
and that's the whole page, bestie!! πΈ this was perl v5.40.0, dated 2024-11-12, from the Wallet...in::MIT(3pm) corner of the internet. mwah, slay, go configure your KDC π
β¨π¦
π¦ where this page comes from
- debian trixie: krb5-wallet-server 1.7 Β· MIT
- ubuntu resolute: krb5-wallet-server 1.7 Β· MIT
- ubuntu stonking: krb5-wallet-server 1.7 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms