mirror of https://github.com/docker/cli.git
prefer `pass` backend if it is available
Signed-off-by: Tycho Andersen <tycho@docker.com>
This commit is contained in:
parent
6bd5c63c78
commit
713e87e780
|
@ -1,5 +1,13 @@
|
||||||
package credentials
|
package credentials
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/docker/docker-credential-helpers/pass"
|
||||||
|
)
|
||||||
|
|
||||||
func defaultCredentialsStore() string {
|
func defaultCredentialsStore() string {
|
||||||
|
if pass.PassInitialized {
|
||||||
|
return "pass"
|
||||||
|
}
|
||||||
|
|
||||||
return "secretservice"
|
return "secretservice"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue