Skip to main content

Use with django-api-key-client

Project description

Secure API Signature Mechanism

Internal used for creating signed url for server installed api-key-server


pip install api-key-client


  1. sign_request_1(url, api_key, api_secret) recommand
>>> from api_key_client.utils import sign_request_1
>>> url = ''
>>> sign_request_1(url, 'SOME-TEST', 'some-key-xxxxxx')
  1. sign_request_1(url, api_secret)

    place api_key in url

>>> from api_key.utils import sign_request, sign_request_1
>>> url = ''
>>> url = sign_request(url, 'your_secret')

> Note:

please check system date to the correct timezone,
Otherwise the timeout checking could be invalid

For docker container (alpine)
RUN apk add --updat tzdata
ENV TZ=Pacific/Auckland

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

django-api-key-server-0.1.19.tar.gz (5.6 kB view hashes)

Uploaded Source

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