Category: Database

1Password is a fantastic tool for storing secrets, and I’ve found some great ways to use it for local development. In a team-based environment, this is especially nice for onboarding developers to a project.

Then use a bash script as shown below to copy that file into your project.

Of course this script should be tweaked to your needs and you’ll need to provide it with real values for the host, db user, db name, etc.

1Password is a great service in that it provides a central source of truth and secures it as well.

Related Articles