Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifyCliExistsOrDie ¶
func VerifyCliExistsOrDie()
VerifyCliExistsOrDie verifies that lastpass-cli is properly installed
Types ¶
type LastPassSecret ¶
type LastPassSecret struct { ID string `json:"id"` Name string `json:"name"` Fullname string `json:"fullname"` Username string `json:"username"` Password string `json:"password"` LastModifiedGmt string `json:"last_modified_gmt"` LastTouch string `json:"last_touch"` Group string `json:"group"` URL string `json:"url"` Note string `json:"note"` }
LastPassSecret represents a LastPass secret For more examples see example/lpass-examples.txt https://mholt.github.io/json-to-go/
func RequestSecrets ¶
func RequestSecrets(group string, name string) ([]LastPassSecret, error)
RequestSecrets returns one or more secrets using lastpass-cli
Click to show internal directories.
Click to hide internal directories.