Python SDK for SecretCarousel — the agent-native secret vault
Project description
secretcarousel
Python SDK for SecretCarousel — the agent-native secret vault.
Install
pip install secretcarousel
Quick Start
from secretcarousel import SecretCarouselClient
sc = SecretCarouselClient(
api_key="sc_free_...",
base_url="https://secretcarousel.com"
)
# Store a secret (AES-256-GCM encrypted at rest)
secret = sc.create_secret(
name="DATABASE_URL",
value="postgres://user:pass@host/db",
secret_type="database-credentials"
)
# Retrieve (decrypted on demand)
result = sc.get_secret(secret["secretId"])
print(result["value"])
# List all
secrets = sc.list_secrets()
Features
- Zero dependencies (stdlib urllib only)
- Full type hints (mypy compatible)
- AES-256-GCM encrypted storage
- Secret versioning and rotation
- Time-limited share links
- Complete audit trail
API
| Method | Description |
|---|---|
list_secrets(query?) |
List secrets (metadata only) |
get_secret(id) |
Get secret with decrypted value |
create_secret(**data) |
Create new secret |
update_secret(id, **data) |
Update (creates new version) |
delete_secret(id) |
Delete secret |
rotate_secret(id) |
Rotate secret |
export_env(query) |
Export as .env format |
get_audit_logs(query) |
Query audit trail |
create_backup(**data) |
Create encrypted backup |
Links
- Quick Start: https://secretcarousel.com/docs/quickstart.html
- API Reference: https://secretcarousel.com/api
- CLI: https://www.npmjs.com/package/secretcarousel
License
Proprietary — Tyga.Cloud Ltd. See LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
secretcarousel-1.0.0.tar.gz
(4.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file secretcarousel-1.0.0.tar.gz.
File metadata
- Download URL: secretcarousel-1.0.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
709844d34b98477c38701c1f44e26f1d65ee1d783f63712f8e7d0f1e07b3cd14
|
|
| MD5 |
b85aa4dafe966fe4dec42d56ba7df4f4
|
|
| BLAKE2b-256 |
95688dd719f65db0fb0608be7612b404a7b65a851d95c18d630dbd5593d2aade
|
File details
Details for the file secretcarousel-1.0.0-py3-none-any.whl.
File metadata
- Download URL: secretcarousel-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a88a8c3cfcadfc9f06cf173e68440c92da1cf76850cd0d8ce505cbf6c66e8e0
|
|
| MD5 |
b8eee17ff9357210c0587e50aa3025db
|
|
| BLAKE2b-256 |
40c30e70a7cf1052df6d8bb8ad233f4bd8c6d304c68187cfccda184d4900d323
|