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

Does this library provide a programming interface? #77

Open
huangyunict opened this issue Aug 4, 2024 · 1 comment
Open

Does this library provide a programming interface? #77

huangyunict opened this issue Aug 4, 2024 · 1 comment

Comments

@huangyunict
Copy link
Contributor

Does this library provide a programming interface?

For example, in the client code, we can query the stored password by something like:

vault = Vault.initialize(masterPassword='abc')
chasePasswords = vault.getPasswords(category='Bank', name='Chase')

# Returned password is an entry struct.
password = chasePasswords[0]

print(password.category,
    password.name,
    password.url,
    password.login,
    password.password,
    password.notes)
@gabfl-confiant
Copy link

Hi @huangyunict

There is no programming interface but you can (as you have done) rely on the existing code to query the encrypted database.

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

No branches or pull requests

2 participants