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 Sep 2, 2017
1 parent ba5a63e commit 6b90d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/global.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ func ConfigureGlobals(app *kingpin.Application) {
EnumVar(&GlobalFlags.PromptDriver, promptsAvailable...)

app.Flag("biometrics", "Use biometric authentication if supported").
OverrideDefaultFromEnvar("AWS_VAULT_BIOMETRICS").
BoolVar(&GlobalFlags.Biometrics)

app.PreAction(func(c *kingpin.ParseContext) (err error) {
Expand All @@ -61,5 +62,4 @@ func ConfigureGlobals(app *kingpin.Application) {
}
return err
})

}

0 comments on commit 6b90d34

Please sign in to comment.