lokalise-cli-2-go icon indicating copy to clipboard operation
lokalise-cli-2-go copied to clipboard

Have the ability to pass the --token var via Environment Variables

Open jamesrwu opened this issue 3 years ago • 1 comments

Given that tokens should be secret, it would be nice if the lokalise CLI supported reading token values from Env Vars so that we don't have to type out sensitive secrets out in shell commands.

jamesrwu avatar May 11 '22 16:05 jamesrwu

That would be really to have for project_id too so that we avoid long CLI command like:

lokalise --token ${LOKALISE_TOKEN} --project-id ${LOKALISE_PROJECT_ID} ....

And like @jamesrwu said, it's better for security by design.

B-Galati avatar May 03 '23 08:05 B-Galati