Skip to content

Commit a11c64b

Browse files
author
Martin Cuesta
committed
🎨 Prefix env var parameters with TUNNEL
This is for TokenID and TokenSecret in the cloudflare access CLI.
1 parent e404c29 commit a11c64b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎cmd/cloudflared/access/cmd.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,13 @@ func Commands() []*cli.Command {
143143
Name: sshTokenIDFlag,
144144
Aliases: []string{"id"},
145145
Usage: "specify an Access service token ID you wish to use.",
146-
EnvVars: []string{"CLOUDFLARE_SERVICE_TOKEN_ID"},
146+
EnvVars: []string{"TUNNEL_SERVICE_TOKEN_ID"},
147147
},
148148
&cli.StringFlag{
149149
Name: sshTokenSecretFlag,
150150
Aliases: []string{"secret"},
151151
Usage: "specify an Access service token secret you wish to use.",
152-
EnvVars: []string{"CLOUDFLARE_SERVICE_TOKEN_SECRET"},
152+
EnvVars: []string{"TUNNEL_SERVICE_TOKEN_SECRET"},
153153
},
154154
&cli.StringFlag{
155155
Name: logger.LogSSHDirectoryFlag,

0 commit comments

Comments
 (0)