🎨 Prefix env var parameters with TUNNEL
This is for TokenID and TokenSecret in the cloudflare access CLI.
This commit is contained in:
parent
e404c29edb
commit
a11c64b091
|
@ -143,13 +143,13 @@ func Commands() []*cli.Command {
|
||||||
Name: sshTokenIDFlag,
|
Name: sshTokenIDFlag,
|
||||||
Aliases: []string{"id"},
|
Aliases: []string{"id"},
|
||||||
Usage: "specify an Access service token ID you wish to use.",
|
Usage: "specify an Access service token ID you wish to use.",
|
||||||
EnvVars: []string{"CLOUDFLARE_SERVICE_TOKEN_ID"},
|
EnvVars: []string{"TUNNEL_SERVICE_TOKEN_ID"},
|
||||||
},
|
},
|
||||||
&cli.StringFlag{
|
&cli.StringFlag{
|
||||||
Name: sshTokenSecretFlag,
|
Name: sshTokenSecretFlag,
|
||||||
Aliases: []string{"secret"},
|
Aliases: []string{"secret"},
|
||||||
Usage: "specify an Access service token secret you wish to use.",
|
Usage: "specify an Access service token secret you wish to use.",
|
||||||
EnvVars: []string{"CLOUDFLARE_SERVICE_TOKEN_SECRET"},
|
EnvVars: []string{"TUNNEL_SERVICE_TOKEN_SECRET"},
|
||||||
},
|
},
|
||||||
&cli.StringFlag{
|
&cli.StringFlag{
|
||||||
Name: logger.LogSSHDirectoryFlag,
|
Name: logger.LogSSHDirectoryFlag,
|
||||||
|
|
Loading…
Reference in New Issue