Skip to main content

Evervault SDK

Project description

Evervault-Python

Evervault unit tests status

Getting Started

Python SDK for Evervault

Prerequisites

To get started with the Evervault Python SDK, you will need to have created a team on the evervault dashboard.

We are currently in invite-only early access. You can apply for early access here.

Installation

pip install evervault

Setup

import evervault

# Initialize the client with your team's api key
evervault.api_key = <YOUR-API-KEY>

# Encrypt your data and run a cage
result = evervault.encrypt_and_run(<CAGE-NAME>, { 'hello': 'World!' })

API Reference

evervault.encrypt

Encrypt lets you encrypt data for use in any of your evervault cages. You can use it to store encrypted data to be used in a cage at another time.

evervault.encrypt(data = dict | str)
Parameter Type Description
data dict or str Data to be encrypted

evervault.run

Run lets you invoke your evervault Cages with a given payload.

evervault.run(cageName = str, payload = dict[, options = dict])
Parameter Type Description
cageName str Name of the Cage to be run
data dict Payload for the Cage
options dict Options for the Cage run.

Cage Run Options

Option Type Default Description
async Boolean False Run your Cage in async mode. Async Cage runs will be queued for processing.
version Integer None Specify the version of your Cage to run. By default, the latest version will be run.

evervault.encryptAndRun

Encrypt your data and use it as the payload to invoke the Cage.

evervault.encrypt_and_run(cageName = str, data = dict[, options = dict])
Parameter Type Description
cageName str Name of the Cage to be run
data dict Data to be encrypted
options dict Options for the Cage run.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

evervault-0.1.1.tar.gz (8.2 kB view hashes)

Uploaded Source

Built Distribution

evervault-0.1.1-py3-none-any.whl (10.7 kB view hashes)

Uploaded Python 3

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