Source Update
This commit is contained in:
parent
6619193dc6
commit
cc1cc6e39f
@ -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 -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 $wxNormal
|
||||||
|
|
||||||
|
echo -n "Token: "
|
||||||
|
echo -n $wxItalic
|
||||||
|
echo -n "****************"
|
||||||
|
echo $wxNormal
|
||||||
|
|
||||||
config[${ORG}]=$VAULT_LOGIN
|
config[${ORG}]=$VAULT_LOGIN
|
||||||
echo '{ "'$ORG'": "'$VAULT_LOGIN'" }' | jq > $HOME/.config/warengroup/login.json
|
echo '{ "'$ORG'": "'$VAULT_LOGIN'" }' | jq > $HOME/.config/warengroup/login.json
|
||||||
|
|
||||||
|
5
wx
5
wx
@ -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 -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 $wxNormal
|
||||||
|
|
||||||
|
echo -n "Token: "
|
||||||
|
echo -n $wxItalic
|
||||||
|
echo -n "****************"
|
||||||
|
echo $wxNormal
|
||||||
|
|
||||||
config[${ORG}]=$VAULT_LOGIN
|
config[${ORG}]=$VAULT_LOGIN
|
||||||
echo '{ "'$ORG'": "'$VAULT_LOGIN'" }' | jq > $HOME/.config/warengroup/login.json
|
echo '{ "'$ORG'": "'$VAULT_LOGIN'" }' | jq > $HOME/.config/warengroup/login.json
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user