From 89b577e089a075959d0af27c6d9a857c8290354b Mon Sep 17 00:00:00 2001 From: kennwhite Date: Mon, 19 Dec 2016 15:14:05 -0500 Subject: [PATCH] UI hints on entering API secrets It's not obvious to new users why some fields display and others are blank when entering values. Absent stars for secrets, this gives a small sanity nudge, and lessens likelihood of double pastes. --- algo | 3 +++ 1 file changed, 3 insertions(+) diff --git a/algo b/algo index d7d78e70..0c4f0666 100755 --- a/algo +++ b/algo @@ -137,6 +137,7 @@ Enter the number of your desired region: digitalocean () { read -p " Enter your API token (https://cloud.digitalocean.com/settings/api/tokens): +[pasted values will not be displayed] : " -rs do_access_token read -p " @@ -185,11 +186,13 @@ ec2 () { read -p " Enter your aws_access_key (http://docs.aws.amazon.com/general/latest/gr/managing-aws-access-keys.html) Note: Make sure to use either your root key (recommended) or an IAM user with an acceptable policy attached +[pasted values will not be displayed] [AKIA...]: " -rs aws_access_key read -p " Enter your aws_secret_key (http://docs.aws.amazon.com/general/latest/gr/managing-aws-access-keys.html) Note: Make sure to use either your root key (recommended) or an IAM user with an acceptable policy attached +[pasted values will not be displayed] [ABCD...]: " -rs aws_secret_key read -p "