Sops: Support Vault for encryption

Created on 25 Jan 2018  路  12Comments  路  Source: mozilla/sops

Would love to see support for Vault's transit backend as the encryption key authority!

enhancement help wanted

Most helpful comment

Sure! Depending on what you want, you either have to implement the Cipher interface (see example) or the MasterKey interface (see example). The former would make Vault an alternative for AES, whereas the latter would make it an alternative for GPG/KMS. Is this enough to get you started?

All 12 comments

Are any of the core team able to provide some pointers on how this should be implemented. My team might be able to take a stab at this if we can get some help.

Sure! Depending on what you want, you either have to implement the Cipher interface (see example) or the MasterKey interface (see example). The former would make Vault an alternative for AES, whereas the latter would make it an alternative for GPG/KMS. Is this enough to get you started?

Has there been any further work on this issue?

The core team isn't working on this feature but we'd happily review and merge a patch from a motivated contributor.

Good idea! Any progress with it?

No, I built Helm-Vault instead.

As I see this implementation almost done - https://github.com/mozilla/sops/pull/623

Looks like it's already implemented and merged https://github.com/mozilla/sops/pull/655. The question is when is it going to be released?

This appears to just use Vault as a KMS storage area for your encryption keys, and does not actually store your secret values in Vault (which may be the preferred method for some).

This appears to just use Vault as a KMS storage area for your encryption keys, and does not actually store your secret values in Vault (which may be the preferred method for some).

Yes, sops publish does what you want instead

Link to the documentation on sops publish?

Link to the documentation on sops publish?

https://github.com/mozilla/sops/blob/master/README.rst#2171publishing-to-vault

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nphmuller picture nphmuller  路  5Comments

naadev picture naadev  路  6Comments

b-meson picture b-meson  路  6Comments

foray1010 picture foray1010  路  7Comments

slukes picture slukes  路  6Comments