๐
Secure Secret Management
RSA OAEP encryption for secure vault operations
Secure secret management with RSA OAEP encryption and async REST API support
Socket0 Python SDK is a comprehensive cryptographic library providing vault management and REST API integration capabilities.
pip install socket0-sdkfrom 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-valueThe 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 toolsSocket0 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.