Skip to content

Commit 0e912a4

Browse files
authored
Merge pull request #16 from parca-dev/bearer-token-env
cmd/parca-debuginfo: Allow passing bearer token as env var
2 parents 79b0054 + 674dd1a commit 0e912a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/parca-debuginfo/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ type flags struct {
5050

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

0 commit comments

Comments
 (0)