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


if __name__ == '__main__':
    vaultapi_client = vaultapi.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.

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.1.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file VaultAPI_Client-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for VaultAPI_Client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4c0e54cb49b333d78b6a0e07de791dbcb5eb03c6c3bc7d9902d137599965892f
MD5 fe65338bccdd7448bee11cfc26b3b8df
BLAKE2b-256 ad8cb1a57719237d872418fc87adff53e0b2ba99b8eba9f60ef6b2a761d2657b

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