New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gitenvs

Package Overview
Dependencies
Maintainers
0
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitenvs

Gitenvs Save your environment variables in git – encrypted.

  • 2.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
44
decreased by-76.96%
Maintainers
0
Weekly downloads
 
Created
Source


Gitenvs

Save your environment variables in git – encrypted.

npm version MIT License

Gitenvs is a tool that lets you securely store environment variables in your git repository by encrypting them with public/private key pairs. It provides a modern web UI for managing variables across multiple environments and files, with features like importing from .env files, linking shared variables in monorepos, and granular access control through environment-specific encryption keys.

✨ Features

  • Multi env file support: Useful for monorepos with different apps and different environments.
  • Link env vars between files: Link env vars between files. Useful if you have a shared env var in a monorepo.
  • Decrypt env vars in the UI to check the content. Can be toggled per stage.
  • Import existing env vars:
    • Import .env files in your project folder.
    • Import by pasting .env contents in the UI.
    • Import directly from vercel.
  • Fully keyboard navigable: Use arrow keys and shortcuts to navigate through the UI.
  • .env or .ts: You can use .env or .ts files to write your environment variables.
  • Public/Private key encryption: Everyone can encrypt env vars, but only those with the private key can decrypt them.

🚀 How to Run

Just run

npx gitenvs

A UI is automatically opened in your browser. Run through the wizard to set up gitenvs.

🤔 Why?

  • Consistency: You can easily share your environment variables with your team. Run git pull main and you have the latest environment variables.
  • Encrypted: Your environment variables are encrypted and securely stored in your repository.
  • Branch-specific environments: Maintain different environment variables per (feature-) branch and automatically apply them when merging, eliminating manual configuration in production.
  • Multi-stage environments: Maintain separate environment variables for development, staging, and production environments.
  • Access Control: Developers only have access to development environment variables through a development-specific encryption passphrase. Without the staging/production passphrases, they cannot decrypt environment variables for those environments.

FAQs

Package last updated on 22 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc