Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
4 years ago[19] Show Last Used time during `op item get`
The 1Password Web UI shows the last used time for a given item. This information seems to be missing from the CLI. I think the last used time would be quite useful to find out which credentials are unused so some maintenance can be performed (eg. archive, delete or notify etc). I think it should be queryable using the JSON format (even if it's hidden in the human readable output).
CLI Output
{ ....
"created_at": "2021-07-05T20:57:18Z",
"updated_at": "2021-08-17T05:15:17Z",
... }
Mac App:
1Password Version: 2.0.0-beta.8
Extension Version: Not Provided
OS Version: macOS 11.6.1 x86_64
2 Replies
- Former Member
Thanks for letting us try the CLIv2 Beta! That makes sense - but yes, a global last used time would definitely be nice to have! Currently, some credentials are accessed exclusively via the CLI rather than the apps, so I can see some utility in having a local last used time there.
- Former Member
Hey @smanojkarthick,
Thank you for trying out our beta!
I indeed see the utility of having access to the "last used" time for items. However, currently, this is something that the 1Password clients each store locally and individually, such that the CLI does not have access to a centralised unique source of truth for this data. Would, for example, times of usage recorded locally, for the CLI, be useful for your use case?
Thank you once again for your suggestion, and we're looking forward to hearing more of your feedback!Best,
Horia