Getting Started
Last updated
Last updated
The VSS API Client is a Node.js utility designed to interact with a Versioned Storage Service (VSS). It provides functionality to securely store, retrieve, and manage encrypted data using a cloud-hosted VSS server.
File Storage: Encrypt and upload files to the VSS server.
File Retrieval: Decrypt and fetch files from the server.
Key Version Management: List versions of stored keys for audit and recovery purposes.
Client-Side Encryption: Ensures data is encrypted locally using AES-256-GCM before being transmitted.
Protobuf Serialization: Leverages Protobuf for efficient data communication.
VSS Server: Access to a running VSS server instance.
Protobuf Schema: Obtain the vss.proto
file from the VSS service provider.
Clone the repository:
Install dependencies:
Configure the client:
Update config.js
with:
token
: for authentication.
vssServerBaseUrl
: Base URL for the VSS server.
ENCRYPTION_KEY
: 32-byte AES encryption key in Base64 format.
Upload a file to the VSS server:
Fetch and decrypt a file from the VSS server:
Retrieve a list of versions for a specific key:
config.js
ExampleRun the following command to generate a 32-byte key:
Client-Side Encryption: Data is encrypted locally using AES-256-GCM before being sent to the server.
Invalid Token:
Ensure the token
in config.js
is valid and not expired.
Connection Errors:
Verify the vssServerBaseUrl
is correct and the server is running.
Encryption Errors:
Ensure the ENCRYPTION_KEY
meets format and length requirements.
For questions or support, reach out to .