aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/containers/common/pkg/secrets/secrets.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/containers/common/pkg/secrets/secrets.go')
-rw-r--r--vendor/github.com/containers/common/pkg/secrets/secrets.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/github.com/containers/common/pkg/secrets/secrets.go b/vendor/github.com/containers/common/pkg/secrets/secrets.go
index 2573b80e2..2e7802369 100644
--- a/vendor/github.com/containers/common/pkg/secrets/secrets.go
+++ b/vendor/github.com/containers/common/pkg/secrets/secrets.go
@@ -9,6 +9,7 @@ import (
"github.com/containers/common/pkg/secrets/filedriver"
"github.com/containers/common/pkg/secrets/passdriver"
+ "github.com/containers/common/pkg/secrets/shelldriver"
"github.com/containers/storage/pkg/lockfile"
"github.com/containers/storage/pkg/stringid"
"github.com/pkg/errors"
@@ -281,6 +282,8 @@ func getDriver(name string, opts map[string]string) (SecretsDriver, error) {
}
case "pass":
return passdriver.NewDriver(opts)
+ case "shell":
+ return shelldriver.NewDriver(opts)
}
return nil, errInvalidDriver
}