Getting Started with SecureVault
Initialize and configure Aevum Zenth SecureVault to begin managing encrypted secrets, keys, and sensitive data across your enterprise infrastructure with zero-knowledge architecture.
SecureVault is part of the Zenth Cloud ecosystem. If you don't have an Aevum Zenth account, create one here or contact your enterprise administrator.
Prerequisites
Before integrating SecureVault, ensure your environment meets the following requirements:
- An active Aevum Zenth Organization with SecureVault enabled.
- An API Key or Z-Service Token with appropriate scopes.
- One of the following runtime environments:
- Node.js 18.0+ (for JavaScript/TypeScript SDK)
- Python 3.9+ (for Python SDK)
- Go 1.21+ (for Go SDK)
- Rust 1.70+ (for Rust SDK)
- Network access to
api.aevumzenth.io(port 443).
Installation
Install the SecureVault SDK for your preferred language:
npm install @aevumzenth/securevault
pip install aevum-securevault
go get github.com/aevumzenth/securevault-go/v2
cargo add aevum-securevault
Quick Start
Follow these steps to initialize SecureVault and store your first encrypted secret.
Create a new SecureVault client instance using your API credentials.
import { SecureVault } from '@aevumzenth/securevault';
const vault = new SecureVault({
apiKey: process.env.AEVUM_API_KEY,
projectId: 'proj_zenth_8x92k',
region: 'us-east-1' // Optional: defaults to auto-detect
});
Use the storeSecret method to encrypt and store data. The SDK handles client-side encryption before transmission.
const response = await vault.secrets.store({
name: 'db-connection-string',
value: 'postgresql://user:password@host:5432/db',
tags: ['production', 'database'],
rotation: {
enabled: true,
intervalDays: 90
}
});
console.log(`Stored secret with ID: ${response.id}`);
// Output: Stored secret with ID: scret_zenth_4a7f9x2...
Fetch the secret by name or ID. The SDK automatically decrypts the value using your Z-Key context.
const secret = await vault.secrets.get('db-connection-string');
console.log(secret.value);
// Output: postgresql://user:password@host:5432/db
Never hardcode API keys in your source code. Use environment variables or a secure secrets manager for your API credentials. SecureVault is designed to protect your data, not your credentials.
Configuration Options
The SecureVault client accepts several configuration options during initialization:
| Option | Type | Description |
|---|---|---|
apiKey |
string | Your Aevum Zenth API key. Required unless using Z-Service Token. |
projectId |
string | Target project ID for scoped operations. |
region |
string | Data residency region. Defaults to auto-detection based on latency. |
timeout |
number | Request timeout in milliseconds. Default: 5000. |
Next Steps
Now that you've completed the quick start, explore these resources to deepen your integration:
- Authentication & Authorization â Learn about Z-Keys, service accounts, and role-based access.
- Vault Structure â Understand enclaves, namespaces, and secret organization.
- SDK Reference â Detailed API documentation for all supported languages.
- Compliance & Audit â Integrate with SOC 2, HIPAA, and GDPR requirements.
Join the Aevum Zenth Developer Community or contact secure-support@aevumzenth.io for enterprise assistance.