akeyless-python
Auto-generated Python SDK for the Akeyless Vault secrets management and encryption platform.
Repository Health
Technical Analysis
The akeyless Python SDK is the official client library for the Akeyless secrets management platform, exposing its full REST API as typed Python methods. Generated from Akeyless’s OpenAPI specification, it lets applications authenticate, fetch and rotate secrets, manage encryption keys, and configure dynamic secret targets without writing raw HTTP calls.
Installed with a single pip install akeyless, the package wraps hundreds of API operations behind a configurable client, handling request serialization, authentication tokens, and response models so Python services can integrate Akeyless Vault for secrets, PKI, and identity workflows.
What You Get
- A complete typed client covering the full Akeyless REST API surface
- Pluggable
Configurationfor host, port, and authentication token management - Over a thousand generated request/response model classes with validation
- Support for gateway, public API, and self-hosted deployment endpoints
Common Use Cases
- Fetching static and dynamic secrets from Akeyless inside Python services
- Rotating credentials and managing encryption keys programmatically
- Automating secret target and role configuration in CI/CD pipelines
Under The Hood
Architecture - The package centers on an ApiClient that reads a Configuration (host, port, auth token) and dispatches serialized requests to Akeyless endpoints, with the api module exposing operations and the large models package (over 1,200 classes) representing every request and response body. Tech Stack - Pure Python built on urllib3 for transport, six for 2/3 compatibility, certifi, and python-dateutil; the whole surface is generated by the OpenAPI Generator’s PythonClientCodegen from Akeyless’s API spec. Code Quality - Code is machine-generated and therefore consistent and exhaustively typed via py.typed, though the accompanying test suite is generated stubs rather than behavioral tests. API Design - Ergonomics follow the standard OpenAPI-generator shape: instantiate a configuration, create a client, call named operation methods; discoverability is good but the flat generated surface and sheer number of models can feel verbose for simple secret fetches.