From 5e17a9c425421e5a0ba4655636ea10210bebda71 Mon Sep 17 00:00:00 2001 From: Lachlan Donald Date: Wed, 9 Aug 2017 11:45:54 +1000 Subject: [PATCH] Read biometrics defaults from AWS_VAULT_BIOMETRICS --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 94723bca9..03d839942 100644 --- a/main.go +++ b/main.go @@ -218,6 +218,7 @@ func run(args []string, onTerminate func(int)) { EnumVar(&globals.PromptDriver, promptsAvailable...) app.Flag("biometrics", "Use biometric authentication if supported"). + OverrideDefaultFromEnvar("AWS_VAULT_BIOMETRICS"). BoolVar(&globals.Biometrics) app.PreAction(func(c *kingpin.ParseContext) (err error) {