$ initiat commands
$ initiat env sync
Sync secrets from the remote project to the local environment
Back to Docs

Usage

      initiat env sync
      
    

Examples

Sync secrets to current environment

      initiat env sync
      
    

How it works

  1. Fetches all secrets from the remote project

  2. Stores them securely in the local environment directory

  3. Updates sync timestamps

  4. 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.