Get nextcloud credentials
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
#! /bin/bash
|
||||
|
||||
TOWER=$(enpasscli -vault="$HOME/Documents/Enpass/Vaults/primary" -sort show "Scarif: Tower" 2>&1)
|
||||
TOWERUN=$(echo "$TOWER" | grep -Po "(?<=login: )\w+")
|
||||
TOWERPW=$(echo "$TOWER" | grep -Po "(?<=pass : ).+(?=\")")
|
||||
|
||||
Reference in New Issue
Block a user