I’m very happy with the new deep-linking functionality.
But… deeplinking requires the GUID of an item. Of course, I can find the guid in the link when using the webvault. But wouldn’t it be more conventient to actually see the GUID. Or even better: to have a “copy GUID” and “copy deep-link” button in all the BitWarden user interfaces??
So the remainder is to detect full urls like https://vault.bitwarden.com/#/vault?itemId=a566cf4b-f7e2-430b-91f7-aea20076a9f2 and extract the itemId from there.
And, of course, the main topic feature - Copy link to the item to clipboard.
I’m starting to use Bitwarden as a credential vault for our automation system (using the new bw serveVault Management REST API) and since the itemid GUID is the only way to unambiguously reference items, having the GUID exposed in the various clients would make the workflow quicker, easier, and less error-prone since currently I have to log into the web vault, pull up the item, and then search for the itemid in the URL
Yes, it is possible now in the new version of the Web interface!
But actually, most of the times I use only the browser extension, where the id is still not available at all!
So, to get the id of the desired item, I have to:
Open a new tab in a browser with the Bitwarden web interface
Unlock it
Wait when it will be actually unlocked
Find the item manually again using the name (because there is no “exact match” search I will get multiple results, so I still have to find the right item in the multiple search results manually)
Open it
And only then - grab the url and extract the id from the url string manually again).
And do not mix up it with the organization uuid in the items from urls like https://vault.bitwarden.com/#/vault?organizationId=b693fdab-ce8e-4a39-acda-d3057520asd&itemId=c516fce2-6f88-48cf-8bec-18f1bba92cvg
Also, because IDs are UUIDs not the named strings, I have no idea what exactly it refers to just by looking at it.
So, to understand to which exact item name an id refers, I again have to open the Bitwarden Web in a new tab with an URL like ?itemId=<id> and again log in, unlock the vault…
Does it sound like an easy and convenient way? I don’t think so!
I just wanted to give you another option, since you had written that it was only possible in the CLI. Here is a method you can use from the browser extension:
With the item open in the browser extension, right-click and select “Inspect”. In Chrome, go to Elements > Properties, then right-click the baseURI property, and select “Copy string contents”. There should be an equivalent procedure in other browsers. If you paste the clipboard contents, it will contain a string of the following form:
Thus, the last 36 characters of the copied string contain the ID.
Also:
If you have any Bitwarden client open, you can just enter the Item ID in the Search Bar (actually, just the first 8 characters of the ID is sufficient), and it will display the corresponding item.
In any case, I’d like to clarify that I am not attempting to detract from the feature request, but I wanted to offer some possible work-arounds, since it sometimes can take a long time before feature requests are acted on.