Skip to content

thevickypedia/VaultAPI-Client-python

Repository files navigation

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


if __name__ == '__main__':
    vaultapi.decrypt(get_secret="mykey", table="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.

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

About

Client application for VaultAPI Server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages