Skip to content

Commit

Permalink
Merge pull request #16 from parca-dev/bearer-token-env
Browse files Browse the repository at this point in the history
cmd/parca-debuginfo: Allow passing bearer token as env var
  • Loading branch information
brancz committed Jul 18, 2023
2 parents 79b0054 + 674dd1a commit 0e912a4
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 0e912a4

Please sign in to comment.