Skip to main content

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

quetz-sql-authenticator-0.0.2.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

quetz_sql_authenticator-0.0.2-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file quetz-sql-authenticator-0.0.2.tar.gz.

File metadata

File hashes

Hashes for quetz-sql-authenticator-0.0.2.tar.gz
Algorithm Hash digest
SHA256 da9f5cc5a149a5c94ecc9c2070bbe1dfb102d3fb56c3296de485381bafc115a6
MD5 e2dca15fd104389e7c1106a1886122b2
BLAKE2b-256 4882ceeb215d2f3c85a5c2fc2781a053a52bc9b176f0d03e8cf696c029e180c9

See more details on using hashes here.

File details

Details for the file quetz_sql_authenticator-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for quetz_sql_authenticator-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7aed6a65314ef9defc1d6de1546f07cebb2a09d1218838bc7c5990372f1f645d
MD5 ce25d43a075311c5e1cbfb8852ac9140
BLAKE2b-256 e36c31b0379f9b83747b178b145461cc7b81392b8a9a10d713812c4717595a47

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page