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

feat: SOPS decryption support for YAML/JSON/.env #869

Open
lukasmrtvy opened this issue Jun 11, 2020 · 4 comments
Open

feat: SOPS decryption support for YAML/JSON/.env #869

lukasmrtvy opened this issue Jun 11, 2020 · 4 comments
Assignees
Milestone

Comments

@lukasmrtvy
Copy link

Would be nice to support sops ( https://github.com/mozilla/sops ) as datasource
Thanks

@hairyhenderson
Copy link
Owner

Hi @lukasmrtvy - thanks for filing this!

I wasn't familiar with sops, so thank you for the link - it looks very interesting!

From what I can tell this wouldn't so much be a datasource as a parsing extension for YAML/JSON/env media types, similar to the EJSON support already present. Does that sound correct, or am I missing something?

It looks like what would make sense would be supporting the JSON, YAML, and env formats (which gomplate already supports). I'm not sure how gomplate could support the binary format, and it doesn't (yet) support INI files, so that wouldn't work either.

It'll take some time to get this implemented, but this definitely looks interesting!

@hairyhenderson hairyhenderson changed the title (feat): sops datasource (feat): sops decryption support for YAML/JSON/.env Jun 13, 2020
@hairyhenderson hairyhenderson self-assigned this Jun 13, 2020
@github-actions
Copy link

This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment or this will be automatically closed in a few days.

@github-actions github-actions bot added the Stale label Apr 10, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 1, 2023
@Gowiem
Copy link

Gowiem commented May 8, 2024

@hairyhenderson thoughts on reopening this? We'd love to see support in Gomplate for this as we could use it downstream in cloudposse/atmos#592.

To address your original comment: The integration with the binary would to use it to actually decrypt the YAML file so that the secret values were available to the config unencrypted.

@hairyhenderson hairyhenderson changed the title (feat): sops decryption support for YAML/JSON/.env feat: SOPS decryption support for YAML/JSON/.env May 8, 2024
@hairyhenderson hairyhenderson added this to the future milestone May 8, 2024
@hairyhenderson hairyhenderson reopened this May 8, 2024
@hairyhenderson
Copy link
Owner

@Gowiem sure - I'd be happy to review a PR adding this in. I probably won't have time to work on this directly however.

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

No branches or pull requests

3 participants