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.2a144-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4648bd25e71dcc41afbc4b8642fe84a8e9e66dde49782d60e4c065cbd0330a2 |
|
MD5 | 80528c104004654b3863b44ea447cbb4 |
|
BLAKE2b-256 | 6b4d46458cc8d1dbe814b52a9167a82b0df8cb8331eb3efb08e56e3ed8ae2fe4 |
Hashes for virtru_sdk-2.1.2a144-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5eb9c1499ca8ef77f080b0d0264ab847ea1cdfb067f392e1a2296e2e12a8fe9e |
|
MD5 | f8a06558908f0cf23cf12371083cfb99 |
|
BLAKE2b-256 | 442f0b83ce233f1012bcf570ecdb630180ddf46097897788c37928d3a195e4b2 |