Source Update

This commit is contained in:
Christer Warén 2024-04-29 07:22:08 +03:00
parent 6619193dc6
commit cc1cc6e39f
2 changed files with 10 additions and 0 deletions

View File

@ -108,6 +108,11 @@ wx-login(){
echo -n $(curl https://$VAULT_DOMAIN/v1/auth/token/lookup-self -X GET --header "X-Vault-Token: $VAULT_LOGIN" -s | jq -r '.data.meta.username')
echo $wxNormal
echo -n "Token: "
echo -n $wxItalic
echo -n "****************"
echo $wxNormal
config[${ORG}]=$VAULT_LOGIN
echo '{ "'$ORG'": "'$VAULT_LOGIN'" }' | jq > $HOME/.config/warengroup/login.json

5
wx
View File

@ -130,6 +130,11 @@ wx-login(){
echo -n $(curl https://$VAULT_DOMAIN/v1/auth/token/lookup-self -X GET --header "X-Vault-Token: $VAULT_LOGIN" -s | jq -r '.data.meta.username')
echo $wxNormal
echo -n "Token: "
echo -n $wxItalic
echo -n "****************"
echo $wxNormal
config[${ORG}]=$VAULT_LOGIN
echo '{ "'$ORG'": "'$VAULT_LOGIN'" }' | jq > $HOME/.config/warengroup/login.json