CLI for syncing secure notes between 1Password and your local filesystem.
Sharing env config for a project with other developers on the same project via a shared 1Password vault. Typically syncing config is manual and therefore error prone. There are two scenarios to avoid:
-
Making changes to the config for an environment and forgetting to update 1Password.
-
Performing a build and forgetting to pull down the latest config from 1Password when another developer has made a change.
Pulling from 1Password:
spill pull .env.staging
Pushing to 1Password:
spill push .env.staging
In both cases if there are differences between the local version and the version in 1Password a diff will be displayed and confirmation requested before syncing.
go run spill.go <subcommand>