themanchineel / vaultwarden-api Goto Github PK
View Code? Open in Web Editor NEWA simple read-only API fort the Vaultwarden Server
A simple read-only API fort the Vaultwarden Server
Is this the $argo2 token or the one you enter in when you go the /admin page?
-e VAULTWARDEN_TOKEN=your_vaultwarden_token \
I tried both the regular login I use when entering the /admin page and then the $argo2 one from my compose file which Vaultwarden uses and it spams the login enough to get locked out of the admin page unless I reboot the server I'm running it on to clear the failures.
Hi,
I set this up in Portainer like so:
version: '3'
services:
vaultwarden-api:
image: ghcr.io/themanchineel/vaultwarden-api:main
container_name: vaultwarden-api
restart: always
ports:
- 8019:8019
env_file: stack.env
The environment variables are all setup.
When testing with curl I get:
curl "http://localhost:8019/api/stats" -H 'X-API-Key: [APIKEY]'
{"detail":"Vaultwarden API error"}
The logs show this:
INFO: Started server process [1]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8019 (Press CTRL+C to quit)
INFO: 10.0.6.1:11059 - "GET /api/stats HTTP/1.1" 500 Internal Server Error
INFO: 10.0.6.1:36873 - "GET /api/stats HTTP/1.1" 500 Internal Server Error
INFO: 172.16.176.1:36006 - "GET /api/stats HTTP/1.1" 500 Internal Server Error
INFO: 10.0.6.1:36912 - "GET /api/stats HTTP/1.1" 500 Internal Server Error
INFO: 172.16.176.1:34382 - "GET /api/stats HTTP/1.1" 500 Internal Server Error
INFO: 10.0.6.1:36938 - "GET /api/stats HTTP/1.1" 500 Internal Server Error
INFO: 10.0.6.1:37044 - "GET /api/stats HTTP/1.1" 500 Internal Server Error
Any idea what's wrong?
Thank you for your work on this, this is great!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.