diff --git a/cmd/sops/main.go b/cmd/sops/main.go index 4f1895ac7..d2dbd5aa6 100644 --- a/cmd/sops/main.go +++ b/cmd/sops/main.go @@ -1699,6 +1699,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",