Skip to content

End to end dotenv encryption tutorial #234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
evangineer opened this issue Mar 6, 2025 · 2 comments
Open

End to end dotenv encryption tutorial #234

evangineer opened this issue Mar 6, 2025 · 2 comments

Comments

@evangineer
Copy link

evangineer commented Mar 6, 2025

Agebox looks like a really good project. I discovered it yesterday and it should be ideal for my use case which is to encrypt an entire .env using age and then decrypt and retrieve all of the env vars.

However, being new to age and agebox, I was not able to pull all the pieces together to make it work.

Would it be possible for you to create an end to end tutorial that covers this very common use case, starting with key creation and moving onto .env encryption?

This is so needed, here's proof:
djenko-it/mattermostbehindtraefik#1

@evangineer
Copy link
Author

evangineer commented Mar 6, 2025

I'm finding this useful for figuring out how to correctly setup age public keys for agebox.

https://github.com/slok/agebox-test

I now have a .env.agebox file.

@evangineer
Copy link
Author

And I was able to decrypt once I implemented AGEBOX_PRIVATE_KEYS as per:
https://github.com/slok/agebox?tab=readme-ov-file#private-keys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant