Encryption
- Key Management: Store your encryption key securely. Loss of the key will result in permanent data loss.
- Client-Side Encryption: All sensitive data is encrypted before transmission.
python
# Generate a secure encryption key
encryption_key = vx.generate_key()
# Create a new index
vx.create_index(
name="my_index",
dimension=768, # Your vector dimension
key=encryption_key, # Encryption key
space_type="cosine" # Distance metric (cosine, l2, ip)
)
# Get index reference
index = vx.get_index(name="my_index", key=encryption_key)
Last updated on