Skip to content

Instantly share code, notes, and snippets.

@barend
Created February 6, 2020 13:40
Show Gist options
  • Save barend/282786c8edb9305352f6c2fb7be013bd to your computer and use it in GitHub Desktop.
Save barend/282786c8edb9305352f6c2fb7be013bd to your computer and use it in GitHub Desktop.
Kerberized actions with temporary credentials cache file
export KRB5CCNAME="FILE:$(mktemp)"
kinit -kt <keytab> <username>
# do stuff
kdestroy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment