DockerCLI/cli/config/credentials/default_store_linux.go

14 lines
180 B
Go
Raw Permalink Normal View History

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