Manage simple credentials for your Quetz server
Project description
SQL Authenticator
An authenticator that stores credentials in the Quetz SQL database using passlib. It ships with REST routes for CRUD operations on the credentials table.
Installation
Locally after cloning:
pip install -e .
Once uploaded to conda-forge:
mamba install -c conda-forge quetz-sql-authenticator
Usage
The authenticator should be active now. You can login by navigating to <HOST>/auth/sql/login
.
CRUD operations
The authenticator provides REST routes to create, update, and delete credentials and to reset the entire table.
GET /api/sqlauth/credentials/
: List all users.
GET /api/sqlauth/credentials/{username}
: Verify that a user exists.
POST /api/sqlauth/credentials/{username}?password={password}
: Create a new user.
PUT /api/sqlauth/credentials/{username}?password={password}
: Update a user's password.
DELETE /api/sqlauth/credentials/{username}
: Delete a user.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for quetz-sql-authenticator-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da9f5cc5a149a5c94ecc9c2070bbe1dfb102d3fb56c3296de485381bafc115a6 |
|
MD5 | e2dca15fd104389e7c1106a1886122b2 |
|
BLAKE2b-256 | 4882ceeb215d2f3c85a5c2fc2781a053a52bc9b176f0d03e8cf696c029e180c9 |
Hashes for quetz_sql_authenticator-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7aed6a65314ef9defc1d6de1546f07cebb2a09d1218838bc7c5990372f1f645d |
|
MD5 | ce25d43a075311c5e1cbfb8852ac9140 |
|
BLAKE2b-256 | e36c31b0379f9b83747b178b145461cc7b81392b8a9a10d713812c4717595a47 |