mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-06 15:13:56 +02:00
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.
This commit is contained in:
parent
0ef1b5d8da
commit
8a4057590c
1 changed files with 3 additions and 0 deletions
3
algo
3
algo
|
@ -137,6 +137,7 @@ Enter the number of your desired region:
|
||||||
digitalocean () {
|
digitalocean () {
|
||||||
read -p "
|
read -p "
|
||||||
Enter your API token (https://cloud.digitalocean.com/settings/api/tokens):
|
Enter your API token (https://cloud.digitalocean.com/settings/api/tokens):
|
||||||
|
[pasted values will not be displayed]
|
||||||
: " -rs do_access_token
|
: " -rs do_access_token
|
||||||
|
|
||||||
read -p "
|
read -p "
|
||||||
|
@ -185,11 +186,13 @@ ec2 () {
|
||||||
read -p "
|
read -p "
|
||||||
Enter your aws_access_key (http://docs.aws.amazon.com/general/latest/gr/managing-aws-access-keys.html)
|
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
|
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
|
[AKIA...]: " -rs aws_access_key
|
||||||
|
|
||||||
read -p "
|
read -p "
|
||||||
Enter your aws_secret_key (http://docs.aws.amazon.com/general/latest/gr/managing-aws-access-keys.html)
|
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
|
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
|
[ABCD...]: " -rs aws_secret_key
|
||||||
|
|
||||||
read -p "
|
read -p "
|
||||||
|
|
Loading…
Add table
Reference in a new issue