Set Kiali username and password on separate prompt (#6079)

* Set Kiali username and password on separate prompt

* Fix linting errors

* Revert zsh prompt to single copiable box

* Fix review comment suggestions

* Remove spacing

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>
This commit is contained in:
Shamsher Ansari 2019-12-17 21:27:50 +05:30 committed by Istio Automation
parent 8fd418b7f5
commit 38a997a026
1 changed files with 8 additions and 1 deletions

View File

@ -38,10 +38,17 @@ If you plan on installing Kiali using the Istio demo profile as described in the
Create a secret in your Istio namespace with the credentials that you use to
authenticate to Kiali.
First, define the credentials you want to use as the Kiali username and passphrase:
First, define the credentials you want to use as the Kiali username and passphrase.
Enter a Kiali username when prompted:
{{< text bash >}}
$ KIALI_USERNAME=$(read -p 'Kiali Username: ' uval && echo -n $uval | base64)
{{< /text >}}
Enter a Kiali passphrase when prompted:
{{< text bash >}}
$ KIALI_PASSPHRASE=$(read -sp 'Kiali Passphrase: ' pval && echo -n $pval | base64)
{{< /text >}}