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.
pull/633/head
Mariano Cano 3 years ago
parent 2620c38aee
commit 5344f42f21

@ -39,8 +39,9 @@ certificate issuer private key used in the RA mode.`,
Usage: "address of a DNS resolver to be used instead of the default.",
},
cli.StringFlag{
Name: "token",
Usage: "token used to enable the linked ca.",
Name: "token",
Usage: "token used to enable the linked ca.",
EnvVar: "STEP_CA_TOKEN",
},
},
}

Loading…
Cancel
Save