github.com/khulnasoft/cli@v0.0.0-20240402070845-01bcad7beefa/cli/config/credentials/default_store_linux.go (about)

     1  package credentials
     2  
     3  import (
     4  	"os/exec"
     5  )
     6  
     7  func defaultCredentialsStore() string {
     8  	if _, err := exec.LookPath("pass"); err == nil {
     9  		return "pass"
    10  	}
    11  
    12  	return "secretservice"
    13  }