.profile: Add hashicorp vault aliases
This commit is contained in:
parent
70454a8947
commit
295d3e1eda
5
.profile
5
.profile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user