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.2a164-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9988877a5d868fb7b14c82cfaa0b9a91c24212407c204ded9b54ede61a7ccd9 |
|
MD5 | 8ff249ffe7b03de177037dfbc2d11494 |
|
BLAKE2b-256 | df2f2dee78ae54cef7deda66269e2f57ec24269974fca072c69ff4c56feea0ad |
Hashes for virtru_sdk-2.1.2a164-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a2fee10230a232872477e17e72cec0bf42d4204bf1990639007fd8b9c4e2df1 |
|
MD5 | 5992026e8acfb168a6d0621cf3b52018 |
|
BLAKE2b-256 | 588659fb520ac7ef8dd8af35d6b5a5f063b66506b5e65d847056c19869e5dc0a |