Skip to content

Instantly share code, notes, and snippets.

@sprak3000
sprak3000 / yubikey-helpers.fish
Last active June 24, 2019 13:53
aws-vault yubikey fish shell helpers
# This is a conversion of the helpers for bash for use in fish shell.
# You can find the original bash code available at https://gist.github.com/chtorr/0ecc8fca27a4c5e186c636c262cc4757
#
# You can either:
# A. Place the entire block below into ~/.config/fish/config.fish
# B. Place the YUBIKEY_PROFILE line into ~/.config/fish/config.fish and place the individual functions into files
# (recommended).
# e.g., ~/.config/fish/functions/_aws_unset.fish contains the body of the _aws_unset function below.
# - install the Yubico authenticator app