API key authentication stamper for Turnkey API
Project description
Turnkey API Key Stamper
Authentication utility for Turnkey API requests. The stamper signs requests with your API key credentials.
Installation
pip install turnkey-api-key-stamper
Usage
from turnkey_api_key_stamper import ApiKeyStamper, ApiKeyStamperConfig
import requests
import json
# Initialize the stamper with your API credentials
config = ApiKeyStamperConfig(
api_public_key="<Turnkey API Public Key (that starts with 02 or 03)>",
api_private_key="<Turnkey API Private Key>"
)
stamper = ApiKeyStamper(config)
# Create your request payload
payload = {
"organizationId": "<your org ID>"
}
payload_str = json.dumps(payload)
# Generate the authentication stamp
stamp = stamper.stamp(payload_str)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file turnkey_api_key_stamper-0.1.0.tar.gz.
File metadata
- Download URL: turnkey_api_key_stamper-0.1.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd06f37476768a6deb5d79f636a330ca2e135fa621bfa3307e7abb0ba57e7f9e
|
|
| MD5 |
4fdf9762f7388afb62acaa88f4b5eb78
|
|
| BLAKE2b-256 |
a7f1dc83fa347ff03354287a03d9a94f31451e59164e02597aa4688eb705bc01
|
Provenance
The following attestation bundles were made for turnkey_api_key_stamper-0.1.0.tar.gz:
Publisher:
validate-and-publish.yml on tkhq/python-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
turnkey_api_key_stamper-0.1.0.tar.gz -
Subject digest:
dd06f37476768a6deb5d79f636a330ca2e135fa621bfa3307e7abb0ba57e7f9e - Sigstore transparency entry: 1067384010
- Sigstore integration time:
-
Permalink:
tkhq/python-sdk@1419460f4c0bb9266248f83131f72d1fd11c57d1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/tkhq
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
validate-and-publish.yml@1419460f4c0bb9266248f83131f72d1fd11c57d1 -
Trigger Event:
pull_request
-
Statement type:
File details
Details for the file turnkey_api_key_stamper-0.1.0-py3-none-any.whl.
File metadata
- Download URL: turnkey_api_key_stamper-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f39916edb6cfbd8b5174c852fb73bc8962b34ce12480adad5a1f3de629a9b60
|
|
| MD5 |
a2d09bb64fc64308c8e8d91c8d88f0e5
|
|
| BLAKE2b-256 |
46280f4a318448d5e76acb2c7bc02c9fe253554b6663ea1f1905dbdc36bbe1c3
|
Provenance
The following attestation bundles were made for turnkey_api_key_stamper-0.1.0-py3-none-any.whl:
Publisher:
validate-and-publish.yml on tkhq/python-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
turnkey_api_key_stamper-0.1.0-py3-none-any.whl -
Subject digest:
4f39916edb6cfbd8b5174c852fb73bc8962b34ce12480adad5a1f3de629a9b60 - Sigstore transparency entry: 1067384051
- Sigstore integration time:
-
Permalink:
tkhq/python-sdk@1419460f4c0bb9266248f83131f72d1fd11c57d1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/tkhq
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
validate-and-publish.yml@1419460f4c0bb9266248f83131f72d1fd11c57d1 -
Trigger Event:
pull_request
-
Statement type: