From 295d3e1eda41c0a6975bac32bf3382d9333a4955 Mon Sep 17 00:00:00 2001 From: Salt Date: Sun, 14 Jun 2020 04:54:31 -0500 Subject: [PATCH] .profile: Add hashicorp vault aliases --- .profile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.profile b/.profile index 13d3cb88..0ffdacfa 100755 --- a/.profile +++ b/.profile @@ -245,6 +245,11 @@ if has tree; then alias ts="tree $treeargs -hL 2" unset treeargs fi +if has vault; then + alias vlogin="vault login -method=ldap username=$(whoami)" + alias vls="vault list" + alias vr="vault read" +fi # Dotfile management aliases if [ -d "$HOME/.dotfiles" ]; then