Python Wrapper for Virtru SDK
Project description
Virtru Python SDK
The Virtru Platform enables developers to build extensive data protection into their apps and workflows without being security experts. Any protected data can be tracked, controlled, and accessed on any platform. Virtru’s split-knowledge architecture enables developers to ship with key management best practices, meet compliance standards like GDPR, HIPPA, FedRAMP, and deliver secure features on time.
The Virtru Python SDK allows developers to easily create and manage encrypted Trusted Data Format (TDF) objects and interact with Virtru's Key Access and Entity Attribute Services (KAS, EAS).
Installation
Upgrade pip3 to the latest version and run
pip3 install virtru-sdk
Authentication
Virtru requires an AppID for authentication. You can get an AppID from Virtru Dashboard by following these instructions (How to Download an AppID Token)
Once you have an AppID, authenticate with the code below:
client = Client(owner=VIRTRU_SDK_EMAIL, app_id=VIRTRU_SDK_APP_ID)
Create Encrypted TDF Objects
unprotected_file = "sensitive.txt"
protected_file = unprotected_file + ".tdf.html"
param = EncryptFileParams(in_file_path=unprotected_file,
out_file_path=protected_file)
client.encrypt_file(encrypt_file_params=param)
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 Distributions
Built Distributions
Hashes for virtru_sdk-2.1.2a73-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a39e2f086c71208ad42cae2c4bdb163afdf70231773b3a796d2629b60b70570 |
|
MD5 | d9b600e763c2ef15dd529ffdf5322a06 |
|
BLAKE2b-256 | 8016ba932a0a7f9b3d8e99cd661fd000d205e478fcdacaf8091880d0c77eb1ab |
Hashes for virtru_sdk-2.1.2a73-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ee78fa38b5cf77794cb7c4e6822b6e8c7f47f7983f76286aa13f85f71a91254 |
|
MD5 | c9289d4ae87156e7fdc41cffd230fb0b |
|
BLAKE2b-256 | 0d3e3534dbec3e013b6dfc0bfcefa8229bb197df0527fd125a1776db056f1481 |
Hashes for virtru_sdk-2.1.2a73-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a56dad10646ed83f2f05b55106d43f5a5ed08bfa9c04ef4e8e3d11f187948f1 |
|
MD5 | 6937977c8054d81461d8b9fc23cce789 |
|
BLAKE2b-256 | 6fd4812e641d7de313fe3e2d70c180ccb5f4804fbd3a47ebb6d3077ace94b4f4 |
Hashes for virtru_sdk-2.1.2a73-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3aa0d8daf8579048128ee783b62a65ff036c2c75adf7648555e96acc5b282b53 |
|
MD5 | fd5733ed459b8bb3317f2690c0adfae0 |
|
BLAKE2b-256 | 317f4d5e1f9a939c52407989b2d3e9d0646d3f08c150412b825569efb091f377 |
Hashes for virtru_sdk-2.1.2a73-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01c3b6e5534cb30b609b315c047fc153ca407ff53587aa59ed6cb501d26532c5 |
|
MD5 | 7c5ed69219591cb2d981ff759564d3a9 |
|
BLAKE2b-256 | 979f3994581e908d964546ca19145ca0ee17cedd8447eabae927ce48108628af |