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 support for encrypted data bags to knife download #88

Open
lxndrp opened this issue Jan 31, 2013 · 1 comment
Open

Add support for encrypted data bags to knife download #88

lxndrp opened this issue Jan 31, 2013 · 1 comment
Labels

Comments

@lxndrp
Copy link

lxndrp commented Jan 31, 2013

knife download should store an unencrypted copy of server-side encrypted data bags, if an encrypted_data_bag_secret is configured as part of ~/.chef/knife.rb. This could be configurable with an additional flag, say --decrypt.

The same feature could be interesting for the opposite case of uploading, although some more consideration would be necessary as to which data bags should be encrypted and which should stay unencrypted.

@jkeiser
Copy link
Owner

jkeiser commented Feb 1, 2013

This is a good idea. By default, I don't think we'd want to store unencrypted copies on the filesystem, but I can see an option or config variable for sure. On the other hand, it would be useful if we decrypted in knife show and knife diff by default, since that output is ephemeral.

One issue is going to be checking which data bags are encrypted and which are not. This will be automatically detectable in chef 11, but not so much in earlier versions.

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

No branches or pull requests

2 participants