Secure Rails Apps With 1Password CLI Integration
Use 1Password's CLI integration to securely manage credentials in your Rails app. Store secrets in a vault and reference them in .env.local.erb files. Upgrade to a new computer without exposing secrets.
I work with Ruby on Rails on a daily basis and use 1Password for password management. In our Rails app we use the dotenv gem and it's always bothered me that we go to all the trouble of being secure, using 1Password with two factor authentication, and yet we have credentials sitting in a text file. Often if any of the credentials are needed by other devs they end up in two places, shared from 1Password and in a .env.local file on their machine. With 1Password developer tools there is a better way. First open 1Password settings, select 'Developer' and turn on the CLI option. Follow any instru...