Skip to content

Commit

Permalink
main: add unprefixed env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
albertrdixon committed May 24, 2024
1 parent befbd2a commit 984ce66
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,20 @@ func main() {
EnvVars: []string{"SECRETS_INIT_LOG_FORMAT", "LOG_FORMAT"},
},
&cli.StringFlag{
Name: "provider, p",
Usage: "supported secrets manager provider ['aws', 'google']",
Value: "aws",
EnvVars: []string{"SECRETS_INIT_SECRETS_PROVIDER"}
Name: "provider, p",
Usage: "supported secrets manager provider ['aws', 'google']",
Value: "aws",
EnvVars: []string{"SECRETS_INIT_SECRETS_PROVIDER", "SECRETS_PROVIDER"},
},
&cli.BoolFlag{
Name: "exit-early",
Usage: "exit when a provider fails or a secret is not found",
EnvVars: []string{"SECRETS_INIT_EXIT_EARLY", "EXIT_EARLY"},
},
&cli.StringFlag{
Name: "google-project",
Usage: "the google cloud project for secrets without a project prefix",
EnvVars: []string{"SECRETS_INIT_GOOGLE_PROJECT"}
Name: "google-project",
Usage: "the google cloud project for secrets without a project prefix",
EnvVars: []string{"SECRETS_INIT_GOOGLE_PROJECT", "GOOGLE_PROJECT"},
},
},
Commands: []*cli.Command{
Expand Down

0 comments on commit 984ce66

Please sign in to comment.