-
Notifications
You must be signed in to change notification settings - Fork 4
/
lpass-examples.txt
128 lines (116 loc) · 2.73 KB
/
lpass-examples.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
$ lpass show example/database
example/database [id: 9039358816050440021]
Username: myUsername
Password: myPassword
Alias: myAlias
SID: mySid
Database: AAA
Port: 8080
Hostname: myHostname
Type: myType
Language: en-GB
NoteType: Database
Notes: myNotes
$ lpass show example/database --json
[
{
"id": "9039358816050440021",
"name": "database",
"fullname": "example/database",
"username": "",
"password": "",
"last_modified_gmt": "1562254850",
"last_touch": "0",
"group": "example",
"url": "http://sn",
"note": "NoteType:Database\nLanguage:en-GB\nType:myType\nHostname:myHostname\nPort:8080\nDatabase:AAA\nUsername:myUsername\nPassword:myPassword\nSID:mySid\nAlias:myAlias\nNotes:myNotes"
}
]
---
$ lpass show example/example-pwd --json
[
{
"id": "8281904599677253490",
"name": "example-pwd",
"fullname": "example/example-pwd",
"username": "my-username",
"password": "my-password",
"last_modified_gmt": "1561684727",
"last_touch": "1562236360",
"group": "example",
"url": "http://",
"note": ""
}
]
$ lpass show example/example-pwd
example/example-pwd [id: 8281904599677253490]
Username: my-username
Password: my-password
---
$ lpass show example/secure-note-env --json
[
{
"id": "8488491124605622019",
"name": "secure-note-env",
"fullname": "example/secure-note-env",
"username": "",
"password": "",
"last_modified_gmt": "1562254735",
"last_touch": "0",
"group": "example",
"url": "http://sn",
"note": "abc123"
}
]
$ lpass show example/secure-note-env
example/secure-note-env [id: 8488491124605622019]
URL: http://sn
Notes: abc123
---
$ lpass show example/secure-note-json --json
[
{
"id": "5432661329597563641",
"name": "secure-note-json",
"fullname": "example/secure-note-json",
"username": "",
"password": "",
"last_modified_gmt": "1562254769",
"last_touch": "0",
"group": "example",
"url": "http://sn",
"note": "{\"myKey\":\"myValue\"}"
}
]
$ lpass show example/secure-note-json
example/secure-note-json [id: 5432661329597563641]
URL: http://sn
Notes: {"myKey":"myValue"}
---
$ lpass show example/example-pwd --json --expand-multi
[
{
"id": "8281904599677253490",
"name": "example-pwd",
"fullname": "example/example-pwd",
"username": "my-username",
"password": "my-password",
"last_modified_gmt": "1561684727",
"last_touch": "1562237088",
"group": "example",
"url": "http://",
"note": ""
},
{
"id": "363075885435852539",
"name": "example-pwd",
"fullname": "example/example-pwd",
"username": "",
"password": "",
"last_modified_gmt": "1562264157",
"last_touch": "0",
"group": "example",
"url": "http://",
"note": ""
}
]