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

STEP 1:

pip install AnarchKeyClient

STEP 2

head over to https://anarchkey.pythonanywhere.com/ to signup and get your username and password

STEP 3

anarchkey init --username <YourUsername> --password <YourPassword>

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.1.1.tar.gz (4.4 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.1.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anarchkeyclient-1.1.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for anarchkeyclient-1.1.1.tar.gz
Algorithm Hash digest
SHA256 06a7753659dd10542c69d26bbba00a577b1a636bd25e4146cd548120c02624d3
MD5 a4a28a03bff778fed0b7b9bb18a1b22b
BLAKE2b-256 a84ca2788d10dd181a3dc3187d050aa61cdf8df2a65e1e5fb9c2d3ad46f5e0e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anarchkeyclient-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 54e6c820a9d3680c0cc8e562d72e56e042898941ca0535894e1c7d2eec0fc673
MD5 b6329dd051e824356cfb3fa4618c01ea
BLAKE2b-256 5d6ebea9e35158f833ce907bbb1d7afa60f441866086e931ddb95a9da7963c02

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