Comments (4)
@OdyX @kiorky thx guys, with your library i've created look plugin for ansible)
https://gist.github.com/mfominov/cf73c2c555e1ac05ca2b9049f2c1c292
from bitwardentools.
By with as_list=True i have an output.
odict_values([<bitwardentools.client.Login object at 0xffffb49c7d90>])
But how to get a values inside of object?
from bitwardentools.
Thanks @mfominov . as_list=True
helped. But I needed to mangle around with the result to get the real cipher.
cipher_list = client.get_cipher(item_or_id_or_name="elk", as_list=True)
cipher = list(cipher_list)[0]
print(cipher.id)
from bitwardentools.
@kaotika thx)
cipher_list = client.get_cipher(
"elk", collection=col, orga=orga, as_list=True, sync=True
)
cipher = list(cipher_list)[0]
print(cipher.data["username"])
print(cipher.data["password"])
from bitwardentools.
Related Issues (9)
- Error when trying to create a login HOT 6
- Requests dependency missing HOT 1
- add TOTP support HOT 4
- add edit_item/edit_login functionality HOT 1
- Autnentication by using API key HOT 13
- raising keyerror on 'kdfIterations' HOT 1
- Admin page requests end in NotFounds (vaultwarden) HOT 5
- confirm_invitation unnecessarily requires server private key HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitwardentools.