Skip to content

Commit 0057d3d

Browse files
authored
Merge pull request #1701 from sledzikowy/patch-1
Add a way to set sops config location via envvar
2 parents c197e6b + 85d2b59 commit 0057d3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/sops/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1699,6 +1699,7 @@ func main() {
16991699
cli.StringFlag{
17001700
Name: "config",
17011701
Usage: "path to sops' config file. If set, sops will not search for the config file recursively.",
1702+
EnvVar: "SOPS_CONFIG",
17021703
},
17031704
cli.StringFlag{
17041705
Name: "encryption-context",

0 commit comments

Comments
 (0)