id = "krb5"
name = "Kerberos"
homepage = "https://web.mit.edu/kerberos/"
description = "Kerberos is a network authentication protocol designed to provide strong authentication for client/server applications by using secret-key cryptography."
icon = "https://web.mit.edu/kerberos/images/dog-ring.jpg"
executables = ["klist", "kinit", "kdestroy"]
platforms = ["macos", "linux"]
[dotfiles]
paths = ["~/.k5identity"]
exclude = ["~/.k5login"]
secret = []
side_effect = false
[commands]
format = 1
label = "List Kerberos tickets"
description = "Show the tickets in a credential cache with klist. kinit and kdestroy are not covered."
quality = "ai-draft"
base = "fig:klist"
parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false }
[[commands.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/klist.ts"
license = "MIT"
[[commands.field]]
id = "cache"
label = "Credential cache"
type = "string"
option = ["-c"]
sources = ["fig"]
[[commands.field]]
id = "flags"
label = "Show ticket flags"
type = "boolean"
option = ["-f"]
sources = ["fig"]
[[commands.field]]
id = "verbose"
label = "Verbose"
type = "boolean"
option = ["-v", "--verbose"]
sources = ["fig"]
[[commands.field]]
id = "list_all"
label = "List all caches"
type = "boolean"
option = ["-l", "--list-all"]
sources = ["fig"]
[[commands.field]]
id = "json"
label = "JSON output"
type = "boolean"
option = ["--json"]
sources = ["fig"]
[[commands.field]]
id = "test"
label = "Test for a valid TGT"
description = "Print nothing; the exit status says whether a valid ticket-granting ticket exists."
type = "boolean"
option = ["-s"]
sources = ["fig"]
[[commands.task]]
id = "list"
label = "List tickets"
fields = ["cache", "flags", "verbose"]
[[commands.task]]
id = "check"
label = "Check for a valid TGT"
set = { test = [true] }
fields = ["test", "cache"]
[[commands.group]]
id = "basic"
label = "Basic"
fields = ["cache", "flags", "verbose", "list_all", "json", "test"]