direnv & SOPS

direnv

direnv is a shell extension that manages environment variables based on the current directory.

About

direnv is an extension designed for shell environments that allows users to load and unload environment variables depending on their current directory. It checks for the presence of a .envrc file in the current or parent directories and, if authorized, loads the specified variables into the shell. This functionality helps maintain project-specific environments without cluttering the user's profile file, making it suitable for developers working on isolated projects or managing deployment secrets.

Resources & Links

Related Categories