1Password / onepassword-sdk-python

https://developer.1password.com/docs/sdks/
MIT License
43 stars 5 forks source link

Feature: Copy vault UUID and item UUID via desktop apps #101

Open SimonBarendse opened 1 month ago

SimonBarendse commented 1 month ago

Use Case

Trying to fetch a known item using the SDK:

item = await client.items.get(vault_id, item_id)

When you know the vault name and item name, but don't know the UUIDs, it's currently cumbersome to look these up. Would be a great UX improvement if we could fetch UUIDs from inside the desktop apps.

Requirements and desired behavior

Would be great if there's a button in the app to copy the vault UUID and item UUID. For example here in the actions menu on an item: image

Additional information

Related issues (use cases): #99 and #100.

simkimsia commented 1 month ago

Wouldn't this actually be a ticket for the desktop app team?

SimonBarendse commented 1 month ago

Yes, you're right that we won't tackle this in this repo. We have generalists teams though that cover domains (in our case: Programmatic Access) and we're not silo'ed to specific products or codebases. So our team here can tackle this. I've filed the ticket in this repository for public visibility, since we do not have a public issue tracker for our closed source desktop app repo.

simkimsia commented 1 month ago

we're not silo'ed to specific products or codebases. So our team here can tackle this.

This is an awesome setup

ohinibla commented 4 weeks ago

Isn't there already a button for copying item's UUID? (I'm using the Linux app on Fedora)

2024-08-15-223539_hyprshot

getting a similar button for vault's also would be nice. also a temporary workaround for getting the vault's UUID and item's UUID to be able to use it in the SDK would be that the ids are encoded in the private link as v={vault_id} and i={item_id} i.e: start.1password.com/open/i?a=XXXXXXXXXXXXXXXX&v={vault_id}&i={item_id}&h=my.1password.eu