Skip to main content

Client application for VaultAPI Server

Project description

VaultAPI-Client-python

Client application for VaultAPI Server

Python

Platform Supported

Platform

Deployments

pypi markdown

Pypi Pypi-format Pypi-status

Kick off

Recommendations

Install VaultAPI

python -m pip install vaultapi

Initiate - IDE

import vaultapi_client

if __name__ == '__main__':
    vaultapi_client = vaultapi_client.VaultAPIClient()
    vaultapi_client.get_secret(key="mykey", table_name="mytable")

Initiate - CLI

vaultapi --table mytable

Use vaultapi --help for usage instructions.

Environment Variables

Sourcing environment variables from an env file

By default, VaultAPI-Client will look for a .env file in the current working directory.

  • APIKEY - API Key for authentication.
  • SECRET - Secret key used for transit encryption.
  • VAULT_SERVER - VaultAPI server URL.
  • TRANSIT_KEY_LENGTH - AES key length used for transit encryption. Defaults to 32
  • TRANSIT_TIME_BUCKET - Interval for which the transit epoch will remain constant. Defaults to 60

Coding Standards

Docstring format: Google
Styling conventions: PEP 8 and isort

Linting

pre-commit will ensure linting, run pytest, generate runbook & release notes, and validate hyperlinks in ALL markdown files (including Wiki pages)

Requirement

python -m pip install pre-commit

Usage

pre-commit run --all-files

Pypi Package

pypi-module

https://pypi.org/project/VaultAPI-Client/

License & copyright

© Vignesh Rao

Licensed under the MIT License

Project details


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 Distribution

If you're not sure about the file name format, learn more about wheel file names.

vaultapi_client-0.3.0-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file vaultapi_client-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: vaultapi_client-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0rc1

File hashes

Hashes for vaultapi_client-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a2974aedcf8a38365d50dc5b0c4dbe77bfc90cdf1a7ba7a7304e30d705f3cb1
MD5 42e325c6012f8d11f15358f0a091b77e
BLAKE2b-256 5710b0c8bb06f7961d0102808517326bcf8aa1617b65fff7a8bbdca60ba6d397

See more details on using hashes here.

Supported by

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