HI, Am trying to document the login information to create automation in shell script. Kubectl is not taking the values from echo statement for the password. Please advice.
echo $PASS | kubectl vsphere login --server xxxx --vsphere-username xxxx --insecure-skip-tls-verify
Error:
Password: FATA[0000] Password is required.