Allow to use the environment variable STEP_CA_TOKEN

For helm charts we want to store the tokens in a secret and load
it from an environment variable.
This commit is contained in:
Mariano Cano 2021-08-02 11:33:02 -07:00
parent 2620c38aee
commit 5344f42f21

View file

@ -41,6 +41,7 @@ certificate issuer private key used in the RA mode.`,
cli.StringFlag{ cli.StringFlag{
Name: "token", Name: "token",
Usage: "token used to enable the linked ca.", Usage: "token used to enable the linked ca.",
EnvVar: "STEP_CA_TOKEN",
}, },
}, },
} }