Bitwarden REST API for automated secrets management on self-hosted server


#1

It would be great to have a json rest api for the self-hosted version of Bitwarden. The use case would be secrets management in a networked environment.

Best,
Aaron


Support for libsecret's dbus API
#2

The applications are already powered by a restful JSON API, though it is not documented.


#3

@kspearrin

Looking at https://github.com/bitwarden/cli, it has complete CRUD and login actions in typescript language.

But I have an existing python app that need to do query with BW REST API server.

Can you create similar doc like R1 ?

R1: http://manageiq.org/docs/reference/latest/api/overview/crud


#4

Is the REST API is planned to be documented? Please provide at least endpoints and parameters because it is unusable without that…


#5

@kspearrin any update on API documentation? I feel like there is fear that people will make their own clients with features that are paid. Is that true?


#6

Just an FYI, this repo has client using python and rust languages.


#7

To be faire, I don’t want to go through the source code of an existing cli application just to find out how the API works. I thought that because this was open source, that it’d be easy to adapt to my needs. Alas, it’s not.


#8

@AndreasBackx,

Not sure why there are only 4 votes on this request. To me , a formal API doc is important also.


#9

Another vote from me!
I was hoping to do some reporting using the new history data (since its not included in the built in reports) but will be deferring the project until I have more time given the lack of documentation

Consumers/implementations of the API I’ve found so far:

Rubywarden has an API overview included in API.md. I was going to do some experiments with curl but going by that description I’ll need something a little more advanced to experiment with.

I have only skimmed the API code but it seems manageable as a research source.