DockerCLI/cli/config/credentials/default_store_linux.go

14 lines
180 B
Go
Raw Normal View History

package credentials
import (
"os/exec"
)
func defaultCredentialsStore() string {
if _, err := exec.LookPath("pass"); err == nil {
return "pass"
}
return "secretservice"
}