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

Secrets Management #150

Open
aspauldingcode opened this issue Oct 3, 2024 · 1 comment
Open

Secrets Management #150

aspauldingcode opened this issue Oct 3, 2024 · 1 comment

Comments

@aspauldingcode
Copy link
Owner

Figure out how to declarative define passwords, APIs, logins, identities, etc. without sharing that with the world

@aspauldingcode
Copy link
Owner Author

Use agenix.
I've installed to flake.nix.

Reference Secrets in Configuration: Use the decrypted secret paths in your NixOS configuration where needed. For example, to set a user's password from a secret:

   {
     users.users.alex = {
       isNormalUser = true;
       passwordFile = config.age.secrets.secret1.path;
     };
   }

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