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.3.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for quetz-sql-authenticator-0.0.3.tar.gz
Algorithm Hash digest
SHA256 80b74c14f512c6a35b0e22af7b4539df063c077aa66e57b6a721fcafc15e30a8
MD5 e2c6cd649d2b3cef8ef43bafa3da639a
BLAKE2b-256 08896d1affba8104ba1eb205a402453de9dc3a6138c15e176ed6eb83627d316d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quetz_sql_authenticator-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 73cb50019ca4010091810b6c9ed551e75b6099f1e51a23907285c2804bc406c9
MD5 7df403c756fbff47b58bc16b03d7baab
BLAKE2b-256 f1c67f052cbe6d775af38c821de7f45a981b196785aa7a41781ca852894624e9

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