Extension to Tink Python that provides Scaleway's Key Manager integration
Project description
Tink Python Scaleway's Key Manager extension
This is an extension to the Tink Python library that provides support for Scaleway's Key Manager.
The official documentation is available at https://developers.google.com/tink.
Installation
Install poetry:
curl -sSL https://install.python-poetry.org | python3 -
Clone the repository, then install the package:
poetry shell
poetry install
You can now import the package in your Python scripts:
from scaleway_tink.integration.scwkms import client
...
Check Scaleway's configuration documentation to configure the provider.
Examples
Examples are present in ./examples.
To run them, you need to create a Key in Scaleway's Key Manager and retrieve its ID. Export that ID as an environment variable:
export SCW_KMS_KEY_ID="<key-id>"
Make sure you have a configuration file or environment variables set. You can now run the examples:
python3 ./examples/encrypt_decrypt.py
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
File details
Details for the file scaleway_tink-0.2.2.tar.gz
.
File metadata
- Download URL: scaleway_tink-0.2.2.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.6 Linux/6.5.0-35-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1d51cf558c9bcb93573cb31e91214b01602f08c52cf308301ff838cf64e4dca |
|
MD5 | 416bbe9dabf0cefe2ea43908228aafdf |
|
BLAKE2b-256 | d0186f69a91e94fa01d8f27b914b70496a55b8d3848de4374d1d5c8c95e1f1aa |
File details
Details for the file scaleway_tink-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: scaleway_tink-0.2.2-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.6 Linux/6.5.0-35-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c30a9dd6a74056e678201031124fa5406fd4e6b45bef1c644161cc671143237 |
|
MD5 | a6584a27b3af006ab616048bc6a9da56 |
|
BLAKE2b-256 | 48fbc38fb8e14d30cd39821cdf256cc460392f739acdbb4b8b50dcdf8b770532 |