scaleway/tink-py-scwkms
Python
Captured source
source ↗scaleway/tink-py-scwkms
Description: Extension to Tink Python that provides Scaleway's Key Manager integration
Language: Python
License: Apache-2.0
Stars: 3
Forks: 0
Open issues: 2
Created: 2024-06-03T12:10:21Z
Pushed: 2026-04-27T22:55:03Z
Default branch: main
Fork: no
Archived: no
README:
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:
cd tink-py-scwkms poetry install
Activate the newly created virtual environment:
eval $(poetry env activate)
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](./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=""
Make sure you have a configuration file or environment variables set. You can now run the examples:
eval $(poetry env activate) python3 ./examples/encrypt_decrypt.py