diff --git a/cmd/sops/main.go b/cmd/sops/main.go index 42883ff37..68f9bd29c 100644 --- a/cmd/sops/main.go +++ b/cmd/sops/main.go @@ -1657,6 +1657,7 @@ func main() { cli.StringFlag{ Name: "config", Usage: "path to sops' config file. If set, sops will not search for the config file recursively.", + EnvVar: "SOPS_CONFIG", }, cli.StringFlag{ Name: "encryption-context",