Skip to content
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

Encrypted secrets folder #116

Open
diogox opened this issue Sep 28, 2024 · 1 comment
Open

Encrypted secrets folder #116

diogox opened this issue Sep 28, 2024 · 1 comment
Labels
question Further information is requested

Comments

@diogox
Copy link

diogox commented Sep 28, 2024

Any way to have an encrypted secrets folder instead of having it in a remote repo?

I'd like to have the config be self contained, encrypted ssh keys included and all 🙏

@dustinlyons
Copy link
Owner

dustinlyons commented Oct 14, 2024

@diogox If you want to do this, I would look into removing the nix-secrets input and rely instead on agenix directly. nix-secrets is just creating and managing what is essentially the config file for running agenix commands. You'll run agenix commands when you want to create or edit a secret.

What steps to take?

Note, these "secrets" end up being files in the Nix Store, and a symlink is created at the path you specify.

More information on agenix:

https://github.com/ryantm/agenix?tab=readme-ov-file#installation

@dustinlyons dustinlyons added the question Further information is requested label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants