🎨 Prefix env var parameters with TUNNEL

This is for TokenID and TokenSecret in the cloudflare access CLI.
This commit is contained in:
Martin Cuesta 2021-05-31 15:38:42 -03:00
parent e404c29edb
commit a11c64b091
1 changed files with 2 additions and 2 deletions

View File

@ -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,