# Client API - data encrypted

**URL:** <https://vaultwarden.discourse.group/t/client-api-data-encrypted/3709>\
**Category:** Help\
**Created:** [June 5, 2024, 12:22pm UTC](https://vaultwarden.discourse.group/t/client-api-data-encrypted/3709 "2024-06-05T12:22:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Boriasznikow](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@Boriasznikow](https://vaultwarden.discourse.group/u/Boriasznikow)\
**Post date:** [June 5, 2024, 12:22pm UTC](https://vaultwarden.discourse.group/t/client-api-data-encrypted/3709/1 "2024-06-05T12:22:28Z")

</div>

Hi,

we are trying to use Vaultwarden client API. Authorization by access token succeeds but when we try access data by GET request the data is encrypted. I know that Bitwarden CLI is able to connect to Vaultwarden server and retrieve data in decrypted format. The question is: Is there ready solution at which we can take a look to solve issue of decrypting data coming from client API?

---

<div class="post-metadata">

**Author:** ![BlackDex](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/blackdex/32/8_2.png) [@BlackDex](https://vaultwarden.discourse.group/u/BlackDex)\
**Post date:** [June 5, 2024, 12:36pm UTC](https://vaultwarden.discourse.group/t/client-api-data-encrypted/3709/2 "2024-06-05T12:36:02Z")

</div>

To decrypt you need to follow the white paper from Bitwarden on how there encryption works. There are also several libraries which can do that for you, you just have to search for it for ypur language you use.

An other option would be to use the serve cli feature, which exposes a simple api.

---

<div class="post-metadata">

**Author:** ![Boriasznikow](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@Boriasznikow](https://vaultwarden.discourse.group/u/Boriasznikow)\
**Post date:** [June 6, 2024, 8:31am UTC](https://vaultwarden.discourse.group/t/client-api-data-encrypted/3709/3 "2024-06-06T08:31:52Z")

</div>

Thank You, do You know any libs for python?

---

<div class="post-metadata">

**Author:** ![BlackDex](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/blackdex/32/8_2.png) [@BlackDex](https://vaultwarden.discourse.group/u/BlackDex)\
**Post date:** [June 6, 2024, 9:44am UTC](https://vaultwarden.discourse.group/t/client-api-data-encrypted/3709/4 "2024-06-06T09:44:32Z")

</div>

A simple look on [https://pypi.org/](https://pypi.org/) will provide a lot of options.  
But the one i know works (at least a few months ago) is [bitwardentools · PyPI](https://pypi.org/project/bitwardentools/) / [GitHub - corpusops/bitwardentools: bitwarden python api client and additional tools like for migrating from vaultier to bitwarden (bitwarden\_rs)](https://github.com/corpusops/bitwardentools)

You could also checkout [bitwarden-sdk · PyPI](https://pypi.org/project/bitwarden-sdk/) / [sdk/languages/python at main · bitwarden/sdk · GitHub](https://github.com/bitwarden/sdk/tree/main/languages/python) which is the official library from Bitwarden, i only have never used it, so no clue if that will work.
