Files
kopia/cli/password_windows.go
Jarek Kowalski 41931f21ce repo: refactored password persistence (#1065)
* introduced passwordpersist package which has password persistence
  strategies (keyring, file, none, multiple) with possibility of adding
  more in the future.
* moved all password persistence logic out of 'repo'
* removed global variable repo.EnableKeyRing
2021-05-11 21:53:36 -07:00

10 lines
277 B
Go

package cli
import (
"github.com/alecthomas/kingpin"
)
func (c *App) setupOSSpecificKeychainFlags(app *kingpin.Application) {
app.Flag("use-credential-manager", "Use Windows Credential Manager for storing repository password.").Default("true").BoolVar(&c.keyRingEnabled)
}