Skip to main content

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)

Terms of Service Privacy Policy

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

virtru_sdk-2.1.2a153-cp38-cp38-macosx_10_15_x86_64.whl (3.3 MB view hashes)

Uploaded CPython 3.8 macOS 10.15+ x86-64

virtru_sdk-2.1.2a153-cp37-cp37m-macosx_10_15_x86_64.whl (3.2 MB view hashes)

Uploaded CPython 3.7m macOS 10.15+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page