Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
danpr
2 years agoOccasional Contributor
Retrieve shared item by CLI doesnt seem to work
The documentation here: https://developer.1password.com/docs/cli/reference/management-commands/item/#item-get suggest one possible way to get an item is by shareLink, which I imagine is the URL that ...
Former Member
2 years agoI have the exact same use case and found out the following:
If you use op item get some-example --share-link
then the CLI won't return a shared link, but a private link. Private links require the recipient to be authenticated and permitted to read the item whereas shared links include a token.
The wording of the flag --share-link
and the placeholder <shareLink>
used in the CLI documentation seem to be misleading (or maybe this feature was incorrectly implemented in the CLI because they intended shared links).
Support Documentation
Private Item Link: https://support.1password.com/item-links/
Shared Item Link: https://support.1password.com/share-items/
Private Link