Get and Add items from Keychain. Provides no hotkeys and maintains no state
Example usage:
spoon.Keychain.addItem{service="mynas.local", account="myname", password="secret"}
item = spoon.Keychain.getItem{service="mynas.local", account="myname"}
print(item.password)
Tyler Thrailkill tyler.b.thrailkill@gmail.com
https://github.com/snowe2010
Signature | Keychain:login_keychain(name) |
---|---|
Type | Deprecated |
Description | Retrieve an item from the Login Keychain, returns nil if not found. |
Notes |
|
Source | Source/Keychain.spoon/init.lua line 64 |
Signature | Keychain.logger |
---|---|
Type | Variable |
Description | Logger object used within the Spoon. Can be accessed to set the default log level for the messages coming from the Spoon. |
Source | Source/Keychain.spoon/init.lua line 25 |
Signature | Keychain:addItem(options) |
---|---|
Type | Method |
Description | Add generic password to keychain. |
Parameters |
|
Returns | |
Source | Source/Keychain.spoon/init.lua line 139 |
Signature | Keychain:getItem(options) |
---|---|
Type | Method |
Description | Retrieve an item from the Login Keychain. Return nil if not found and otherwise a table with found data. |
Parameters |
|
Returns | |
Notes |
|
Source | Source/Keychain.spoon/init.lua line 82 |