capy run to decrypt .env and pass the plaintext values to your Ruby process as environment variables. Your code reads them the normal way with ENV["KEY"], with no gem to add. Once Capy syncs, .env holds capy:… ciphertext rather than plaintext, so capy run is what supplies the real values.
1
Install the CLI
2
Sync your secrets
3
Run your app
4
Invite a teammate
5
Deploy
What’s next
Running your app
The full story on
capy run.