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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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