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

Add Templating Support #2

Merged
merged 3 commits into from
Nov 9, 2024
Merged

Add Templating Support #2

merged 3 commits into from
Nov 9, 2024

Conversation

oluceps
Copy link
Collaborator

@oluceps oluceps commented Nov 9, 2024

Summary

The templating function acts the same as sops-nix.

templates = {
  test = {
    name = "template.txt";
    content = "this is a template for testing ${config.vaultix.placeholder.example}";
  };
}

2b noticed that the program remains the trailing \n of the secret file(if it exist), which may cause the output not as expected.

Support for inserting multiple secrets into a single template.

@oluceps oluceps merged commit 68462f6 into main Nov 9, 2024
1 check passed
@oluceps oluceps deleted the template branch November 9, 2024 20:40
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

Successfully merging this pull request may close these issues.

1 participant