Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support fetching TOTP codes via secret references #100

Closed
simkimsia opened this issue Aug 14, 2024 · 4 comments
Closed

Support fetching TOTP codes via secret references #100

simkimsia opened this issue Aug 14, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@simkimsia
Copy link

simkimsia commented Aug 14, 2024

  1. you need to know the difference between vault, item, and itemfield
  2. you need to know the vault id and item id

Originally posted by @simkimsia in #99 (comment)

I solve my issue at #99 but I find it tedious.

Because i needed to iterate through all my vault and then all teh items in teh vault before I can know exactly what id to use to retrieve the item.

Esp the case that onepassword app cannot show the item or vault id. The app does show secret reference.

My recommendations are:

  1. make it easy to know the identifier
    1. allow app to show vault / item / item field id. not just secret reference
    2. OR allow the sdk to fetch itemfield by secret reference
  2. allow SDK to fetch itemfield directly with a single identifier that's either id or secret reference (currently no function at all)
  3. allow SDK to fetch item directly with a single identifier (currently need vault id AND item id)
@SimonBarendse
Copy link
Member

Hi @simkimsia , this is currently not yet supported, but we agree this would be a great improvement and are planning to add it soon. Thank you for expressing your interest!

@SimonBarendse SimonBarendse added the enhancement New feature or request label Aug 14, 2024
@SimonBarendse SimonBarendse changed the title is there a way to fetch item or vault or itemfield using secret reference instead of id? Support fetching TOTP codes via secret references Aug 14, 2024
@SimonBarendse
Copy link
Member

I've separated out the two feature requests of fetching TOTP codes through a single secret reference (this ticket #100) and ability to copy UUIDs from the desktop apps (#101).

@ApprenticeofEnder
Copy link

This sounds interesting! Do you already have folks assigned?

@MOmarMiraj
Copy link
Contributor

Hi Guys,

With the release of the Python SDK v0.1.2, you are now able to acquire TOTP codes from secret references.

You can take a look at the release notes for more information and how to do it.

I will close this issue and if theres any concerns, please let me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants