Deploy SafeKey Lab in your cloud environment and start protecting sensitive data in 5 minutes
Overview
SafeKey Lab provides enterprise-grade privacy infrastructure that deploys directly in your cloud environment.
Our unique Bring Your Own Cloud (BYOC) architecture ensures your sensitive data never leaves your infrastructure,
giving you complete control over data residency and sovereignty.
🔒 Zero Trust Architecture
Your data never touches our servers. All processing happens within your cloud environment.
⚡ Sub-5ms Latency
Lightning-fast PII detection and redaction at any scale with minimal performance impact.
🛡️ Compliance Ready
Built-in support for GDPR, HIPAA, PCI DSS, and SOC2 compliance requirements.
🌍 Multi-Cloud Support
Deploy on AWS, Google Cloud, or Azure with consistent APIs across all platforms.
Quick Start Guide
1Create Your Account
Sign up for a SafeKey Lab account to get your organization ID and deployment credentials.
Start protecting sensitive data with a simple API call:
from safekeylab import SafeKeyClient
# Initialize the client
client = SafeKeyClient(
api_key="YOUR_API_KEY",
endpoint="https://api.your-region.safekeylab.internal" # Your private endpoint
)
# Detect and redact PII
text = "Contact John Doe at [email protected] or 555-123-4567"
result = client.sanitize(text)
print(result.sanitized_text)
# Output: "Contact [PERSON] at [EMAIL] or [PHONE]"
# Get detailed detection results
for detection in result.detections:
print(f"Found {detection.type} at position {detection.start}-{detection.end}")
Installation Methods
Docker Installation
Deploy SafeKey Lab using our official Docker images:
import safekeylab
client = safekeylab.Client(api_key="YOUR_API_KEY")
# Simple text sanitization
result = client.sanitize("My email is [email protected]")
print(result.text) # "My email is [EMAIL]"
# With custom configuration
result = client.sanitize(
text="Call me at 555-0123",
config={
"detect_types": ["PHONE", "EMAIL", "SSN"],
"redaction_method": "hash", # or "mask", "synthetic", "encrypt"
"format_preservation": True
}
)
Batch Processing
Process multiple documents efficiently:
documents = [
{"id": "doc1", "text": "Patient John Doe, SSN: 123-45-6789"},
{"id": "doc2", "text": "Contact: [email protected], Phone: 555-0123"}
]
results = client.batch_sanitize(documents)
for result in results:
print(f"Document {result.id}: {result.sanitized_text}")
Streaming API
Process large volumes of data with streaming:
import safekeylab
# Stream data from a source
with client.stream() as stream:
for record in data_source:
sanitized = stream.process(record)
# Process sanitized data immediately
save_to_database(sanitized)
BYOC Architecture
SafeKey Lab's Bring Your Own Cloud architecture is designed for maximum security and control.
Unlike traditional SaaS solutions, our infrastructure runs entirely within your cloud environment.
How It Works
Deployment: SafeKey Lab containers run in your VPC/VNet
Processing: All data processing happens locally
Control Plane: Only telemetry and configuration sync with SafeKey Lab
Data Plane: Your sensitive data never leaves your environment
Important: Ensure your deployment has sufficient resources. Minimum requirements: 4 vCPUs, 8GB RAM per instance.
Network Architecture
Private Endpoints
All API endpoints are private to your VPC/VNet. No public internet exposure.
VPC Peering
Connect SafeKey Lab to your existing infrastructure via VPC peering or PrivateLink.
Egress Control
Outbound connections only for telemetry and updates. All configurable and auditable.
Next Steps
Explore API Reference
Deep dive into all available endpoints and parameters