.profile: Add hashicorp vault aliases

This commit is contained in:
Salt 2020-06-14 04:54:31 -05:00
parent 70454a8947
commit 295d3e1eda

View File

@ -245,6 +245,11 @@ if has tree; then
alias ts="tree $treeargs -hL 2" alias ts="tree $treeargs -hL 2"
unset treeargs unset treeargs
fi 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 # Dotfile management aliases
if [ -d "$HOME/.dotfiles" ]; then if [ -d "$HOME/.dotfiles" ]; then