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 356edc4 commit 568f949
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ var execCmd = &cobra.Command{
}

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

keychain, _ := ring.Get(fmt.Sprintf("%s-%s", profileName, profileSection.Key("auth_type").String()))
Expand Down

0 comments on commit 568f949

Please sign in to comment.