Skip to content

Socket0 Python SDKComprehensive Cryptographic Vault & API Management

Secure secret management with RSA OAEP encryption and async REST API support

Socket0 Python SDK โ€‹

Socket0 Python SDK is a comprehensive cryptographic library providing vault management and REST API integration capabilities.

Features โ€‹

  • ๐Ÿ” Secure Secret Management: RSA OAEP encryption for secure vault operations
  • ๐Ÿš€ Async HTTP Client: Native async/await support for REST API operations
  • ๐Ÿ›ก๏ธ Type-Safe: Full type hints and Pydantic validation
  • ๐Ÿ“ฆ Lightweight: Minimal dependencies with modular architecture
  • ๐Ÿงช Well-Tested: Comprehensive test suite with performance benchmarks
  • ๐Ÿ–ฅ๏ธ CLI Tools: Optional command-line interface for SDK management and vault operations

Quick Start โ€‹

Installation โ€‹

bash
pip install socket0-sdk

Basic Usage โ€‹

python
from socket0.vault.base import SecretBucket
from Cryptodome.PublicKey import RSA

# Generate RSA key pair
key_pair = RSA.generate(2048)

# Create and manage secrets
bucket = SecretBucket.create_with_rsa(
    secret="my-secret-value",
    public_key=key_pair.publickey()
)

# Reveal secret
secret = bucket.reveal(key_pair)
print(secret)  # Output: my-secret-value

Documentation โ€‹

Architecture โ€‹

The SDK is organized into main modules:

socket0/
โ”œโ”€โ”€ vault/              # Secret management and cryptographic operations
โ”‚   โ””โ”€โ”€ crypto/         # Encryption schemes (RSA OAEP, AES-CTR, AES-GCM)
โ”œโ”€โ”€ api/                # REST API client and schemas
โ”‚   โ””โ”€โ”€ rest/           # REST API implementation
โ””โ”€โ”€ cli/                # Command-line interface (optional)
    โ”œโ”€โ”€ sdk/            # SDK development tools
    โ””โ”€โ”€ vault/          # Vault management tools

License โ€‹

Socket0 Python SDK is distributed under a custom proprietary license. You can use this library in any project, but modifications and redistribution are not permitted. See License for details.

Socket0 Python SDK License - Not open source. For usage terms see /license