dotlock simplifies the encryption of .env files, allowing for safe commits and easy sharing among team members. With just one passphrase and no reliance on cloud services, this tool offers a fully offline solution to keep sensitive information secure, while also ensuring Git protection.
dotlock is a powerful command-line tool designed to securely manage and encrypt your .env files, allowing safe committing to Git and effortless sharing within teams. This tool utilizes a shared passphrase to encrypt multiple .env files into a single, compact .dotlock vault file, ensuring that sensitive information remains secure and offline.
.env files with a single command.dotlock init: Detect and encrypt .env files.dotlock lock [env]: Encrypt specified environment files.dotlock unlock [env]: Decrypt files from the vault.dotlock diff [env1] [env2]: Easily compare different environments.dotlock ls: View a list of environments stored in the vault.dotlock doctor: Check the health of the setup.dotlock scan: Identify hardcoded secrets in your codebase.Integrate dotlock seamlessly into your CI/CD processes by setting the DOTLOCK_PASSPHRASE environment variable. This allows for automated unlocking of the encrypted environment without compromising security.
With dotlock, developers can maintain the confidentiality of their environment configurations while using Git without the risk of exposing sensitive data. This tool offers a straightforward and efficient approach to managing encrypted environment variables, making it an invaluable asset for teams prioritizing security.
No comments yet.
Sign in to be the first to comment.