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.
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
File details
Details for the file quetz-sql-authenticator-0.0.4.tar.gz
.
File metadata
Download URL: quetz-sql-authenticator-0.0.4.tar.gz
Upload date: Feb 15, 2023
Size: 10.3 kB
Tags: Source
Uploaded using Trusted Publishing? No
Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Hashes for quetz-sql-authenticator-0.0.4.tar.gz
Algorithm
Hash digest
SHA256
3a14c039fa25adc6e9c9036c1730c239654244a5fadd63dda714fa5f689aab81
Copy
MD5
f6b5bfd2c6fed3444683de6c7868439f
Copy
BLAKE2b-256
4db2e880a352ed0c3dd4131ef985a8ac82c0ebb432f37ee42189d9a112b07d02
Copy
See more details on using hashes here.
File details
Details for the file quetz_sql_authenticator-0.0.4-py3-none-any.whl
.
File metadata
File hashes
Hashes for quetz_sql_authenticator-0.0.4-py3-none-any.whl
Algorithm
Hash digest
SHA256
651bbf8365cb5e45690d02aa2b31adb8ec93b1ba13b42e847f16f84b44a2856e
Copy
MD5
9d3c16e31a52f74474ae60be97ff9027
Copy
BLAKE2b-256
6f2bc4fff26a9ecbf8c66aeaec856fdcab4c80db859190a39b4f13be7a9d5826
Copy
See more details on using hashes here.