Skip to content

Commit

Permalink
use dedicated keychain for MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz committed Sep 16, 2020
1 parent 0698404 commit 356edc4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ var addCmd = &cobra.Command{
cfg.SaveTo(home + defaultFullConfigPath)

ring, _ := keyring.Open(keyring.Config{
FileDir: "~/.cf-vault/keys/",
ServiceName: projectName,
FileDir: "~/.cf-vault/keys/",
ServiceName: projectName,
KeychainName: projectName,
})

_ = ring.Set(keyring.Item{
Expand Down

0 comments on commit 356edc4

Please sign in to comment.