Skip to content

Commit

Permalink
Read biometrics defaults from AWS_VAULT_BIOMETRICS
Browse files Browse the repository at this point in the history
  • Loading branch information
lox committed Aug 10, 2017
1 parent 24a13e9 commit 5e17a9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5e17a9c

Please sign in to comment.