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 9, 2017
1 parent 9b48138 commit a25c1cf
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 a25c1cf

Please sign in to comment.