Documentation
¶
Rendered for darwin/amd64
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInteractionNotAllowed = errors.New(`keychain cannot be accessed because the current session does not allow user interaction. The keychain may be locked; unlock it by running "security -v unlock-keychain ~/Library/Keychains/login.keychain-db" and try again`)
ErrInteractionNotAllowed is returned if keychain password prompt can not be shown.
Functions ¶
This section is empty.
Types ¶
type Osxkeychain ¶ added in v0.3.0
type Osxkeychain struct{}
Osxkeychain handles secrets using the OS X Keychain as store.
func (Osxkeychain) Add ¶ added in v0.3.0
func (h Osxkeychain) Add(creds *credentials.Credentials) error
Add adds new credentials to the keychain.
func (Osxkeychain) Delete ¶ added in v0.3.0
func (h Osxkeychain) Delete(serverURL string) error
Delete removes credentials from the keychain.
Click to show internal directories.
Click to hide internal directories.