Skip to main content

PyAMS authentication module using API keys

Project description

What is PyAMS?

PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications and content management with the Pyramid framework.

PyAMS is actually mainly used to manage web sites through content management applications (CMS, see PyAMS_content package), but many features are generic and can be used inside any kind of web application.

All PyAMS documentation is available on ReadTheDocs; source code is available on Gitlab and pushed to Github. Doctests are available in the doctests source folder.

What is PyAMS API keys?

PyAMS API keys is an extension module which can be used to allow API keys as authentication credentials.

Each defined API key is seen as a classic principal to which you can grant roles as usual. An API key can be defined with an expiration date, and can be revoked or deleted at any time by an administrator.

An API key can also be bound to a specific principal; in this case, using this API key will be equivalent to being connected with the matching principal credentials.

At first, API keys can only be provided using a specific HTTP header which can be configured for all keys; maybe other authentication modes will be provided in future versions.

Changelog

2.1.1

  • updated Gitlab CI

2.1.0

  • added support for API keys provided via request parameters instead of HTTP headers

2.0.2

  • refactored plugin methods decorators

  • replace datetime.utcnow call with datime.now(timezone.utc)

  • added support for Python 3.12

2.0.1

  • updated modal forms title

2.0.0

  • upgraded to Pyramid 2.0

1.0.1

  • interface cleanup

1.0.0

  • initial release

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

pyams_auth_apikey-2.1.1.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyams_auth_apikey-2.1.1-py3-none-any.whl (30.0 kB view details)

Uploaded Python 3

File details

Details for the file pyams_auth_apikey-2.1.1.tar.gz.

File metadata

  • Download URL: pyams_auth_apikey-2.1.1.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for pyams_auth_apikey-2.1.1.tar.gz
Algorithm Hash digest
SHA256 d62d1b632682f9d6c318f6e2b3bdaafba69803843d064f16bc1b28b23c8f74ed
MD5 a807c23e797dba7de97d0e53fe1ec999
BLAKE2b-256 4eb1e233265b2644e7316e19d468e0c66c99ecfb20b4008ec127c84d65f8117a

See more details on using hashes here.

File details

Details for the file pyams_auth_apikey-2.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pyams_auth_apikey-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 519c31312f9e8d72f37ff52601c29933c81e7d17df85877d4f0d3580c471e9b6
MD5 c7691d218b8cfeb2b3577436d5b11054
BLAKE2b-256 321057594932e3d6c683163151659031db99b2dd5886b6bbc4008857fd4bda92

See more details on using hashes here.

Supported by

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