Skip to content

Commit

Permalink
cmd/parca-debuginfo: Allow passing bearer token as env var
Browse files Browse the repository at this point in the history
  • Loading branch information
brancz committed Jul 18, 2023
1 parent 79b0054 commit 674dd1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/parca-debuginfo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ type flags struct {

Upload struct {
StoreAddress string `kong:"required,help='gRPC address to sends symbols to.'"`
BearerToken string `kong:"help='Bearer token to authenticate with store.'"`
BearerToken string `kong:"help='Bearer token to authenticate with store.',env='PARCA_DEBUGINFO_BEARER_TOKEN'"`
BearerTokenFile string `kong:"help='File to read bearer token from to authenticate with store.'"`
Insecure bool `kong:"help='Send gRPC requests via plaintext instead of TLS.'"`
InsecureSkipVerify bool `kong:"help='Skip TLS certificate verification.'"`
Expand Down

0 comments on commit 674dd1a

Please sign in to comment.