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

Encrypt parte of file using different keys #1196

Open
ghost opened this issue Apr 8, 2023 · 0 comments
Open

Encrypt parte of file using different keys #1196

ghost opened this issue Apr 8, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented Apr 8, 2023

Hi if possible use sops to encrypt for example in this way in the same file.sops.yml

Using aws KMS key 1

Key1: value1
Key2: value2

And with aws KMS key 2 in the same file

Key3: value3
Key3: value4

So when I open file with aws key 1

I can edit or see key1 and key2 with that key but key3 and key4 can't and show it with encrypted strings.

And if I open using aws key 2 i can see the key3 and key4 but the key1 and 2 show encrypted strings

The idea Is use the same file by 2 different people using their own key but can't see the secret from the other person

Is possible do that? I read the context but I guess is using different files in this case is the same.

If is possible how can I configure it sops?

Thanks

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

0 participants