This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Vault asyncio

Project Description

aiovault 0.1.X release

This is the inital release, aimed to get started with PyPI.

There is some basic support of Vault features. The interface is sorta stable, I kinda like where its going. Most if not all methods use the Python3’s typing module to add type hinting.


Simple example of authenticating with vault and then writing then reading a secret

import aiovault

with aiovault.VaultClient(token='6c84fb90-12c4-11e1-840d-7b25c5ee775a') as client:
    is_authed = await client.is_authenticated()
    print(is_authed)  # True

    await client.secrets.generic.create('some_secret', key1='value1', key2='value2')

    secret = await'some_secret')

    print(secret['key1'])  # value1
    print(secret['key2'])  # value2



  • Token, GitHub and User/Password Authentication backends
  • Generic Secret backend
  • File and Syslog Audit backends
  • Policy management
  • Backend renaming

TODO (Near future)

  • Secret backends: Transit, TOTP, Consul
  • Auth backends: AppRole, LDAP, Radius, MFA
  • Tests for vault initialisation, sealing and rekeying

TODO (Long term)

  • More docs, more examples
  • Possibly utility functions like a coroutine to keep renewing a token/secret
  • Policy validation with hcl library?
  • Socket audit backend
  • Okta, TLS and AWS auth support
  • Database, PKI, RabbitMQ, SSH secret support


I used the cookiecutter package to setup the initial project. Was pretty good.



0.1.0 (2017-07-10)

  • First release on PyPI.
Release History

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
aiovault-0.2.0-py2.py3-none-any.whl (19.9 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Jul 20, 2017
aiovault-0.2.0.tar.gz (32.1 kB) Copy SHA256 Checksum SHA256 Source Jul 20, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting