1.0.2 • Published 4 months ago
secretsync v1.0.2
SecretSync
Securely sync and encrypt .env
files across machines using AWS S3.
🚀 Features
- 🔐 AES Encryption: Encrypts
.env
files before uploading. - ☁️ AWS S3 Storage: Securely store
.env
files in an S3 bucket. - 🔄 Seamless Syncing: Fetch and decrypt
.env
files on any authorized machine. - 📂 Multiple Projects: Supports multiple projects with
project.ssc
.
📦 Installation
npm install -g secretsync
🎯 Usage
1️⃣ Initialize SecretSync (Authorize Machine)
secretsync init
Creates authentication files for secure machine access.
2️⃣ Set Up a Project
secretsync set-project <project-name>
Creates a project.ssc
file for managing project settings.
3️⃣ Encrypt & Upload .env
File
secretsync encrypt .env
Encrypts .env
and uploads it to S3 under the project folder.
4️⃣ Decrypt & Download .env
File
secretsync decrypt
Downloads and decrypts .env
from S3.
5️⃣ List All Stored Projects
secretsync list
Displays all stored .env
files in S3.
⚙️ Configuration
SecretSync uses AWS credentials stored securely on your machine. Ensure your AWS IAM user has S3 permissions.
🛠️ Development
Clone the repo and install dependencies:
git clone https://github.com/yourusername/secretsync.git
cd secretsync
npm install
Run the CLI locally:
node index.js --help
For global testing:
npm link
secretsync --help