Skip to main content

A Client package to connect and retrieve api keys from vault serivce called AnarchKey

Project description

AnarchKey Client

A Python client library for connecting to and retrieving API keys from the AnarchKey vault service.

Description

AnarchKeyClient provides a simple interface to securely retrieve API keys stored in the AnarchKey vault service. This package helps developers manage API credentials for their projects without hardcoding sensitive information in their codebase.

Installation

pip install AnarchKeyClient

Usage

from AnarchKeyClient import AnarchKeyClient

# Initialize the client with your username and AnarchKey API key
client = AnarchKeyClient(username="YourUsername", api_key="YourAnarchKeyAPIKey")

# Retrieve an API key for a specific project
response = client.get_api_key(project_name="YourProjectName")

# Check if request was successful
if response["success"]:
    api_key = response["key"]
    print(f"Retrieved API key: {api_key}")
else:
    print(f"Error: {response['message']}")

License MIT

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

anarchkeyclient-1.0.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

anarchkeyclient-1.0.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file anarchkeyclient-1.0.1.tar.gz.

File metadata

  • Download URL: anarchkeyclient-1.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for anarchkeyclient-1.0.1.tar.gz
Algorithm Hash digest
SHA256 17592fa49fc486eed0438dedf5b621968366e5f55a8b52c98f117b5c405a39a3
MD5 821439d818f3d01ebea28fd302877fc3
BLAKE2b-256 ce8168dafeba6f6b18065ced00b491659e17fbb0704cec1ab8c7e528cefa709a

See more details on using hashes here.

File details

Details for the file anarchkeyclient-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for anarchkeyclient-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a8d011ca5a27675c7a9664e429c82cd5afe1840ad07da531368d48dd62084fef
MD5 8287bc30a5f0f46223748094fbb32b30
BLAKE2b-256 75f1721c478c972273c3f480aed87de4d0921fc6f3b2111561ee1bb79e6542bb

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