...
Save this script as ./get-tokentotp.py
Code Block |
---|
chmod og-rwx ./get-tokentotp.py cmod o+x ./get-tokentotp.py |
Testing
Code Block |
---|
./get-tokentotp.py 081482 |
Using TOTP via --totp
Code Block |
---|
echo "Y" | vss --wait -e cloud-api-dev --totp $(./get-tokentotp.py) compute inventory mk --all --fmt csv |
...