$
initiat commands
$ initiat env sync
Sync secrets from the remote project to the local environment
Usage
initiat env sync
Examples
Sync secrets to current environment
initiat env sync
How it works
-
→
Fetches all secrets from the remote project
-
→
Stores them securely in the local environment directory
-
→
Updates sync timestamps
-
→
Shows summary of synced secrets
Output
🔄 Syncing secrets to environment 'production'...
📡 Fetching secrets from remote project...
🔒 Storing secrets securely in local environment...
✅ Synced 5 secrets to environment 'production'
Synced secrets:
• API_KEY
• DB_PASSWORD
• JWT_SECRET
• REDIS_URL
• SMTP_PASSWORD
💡 Environment is now up to date
💡 Use 'initiat env current' to verify active environment
© 2025 Initiat Technologies. All rights reserved.