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

Is there anyway to delete data bags after deployed? #242

Open
halida opened this issue Mar 31, 2015 · 4 comments
Open

Is there anyway to delete data bags after deployed? #242

halida opened this issue Mar 31, 2015 · 4 comments
Labels

Comments

@halida
Copy link
Contributor

halida commented Mar 31, 2015

Data tags may contain sensitive information, even I can use encrypted data bag, the name will leak some information, Is there any way to delete it after deployed?

@tobami
Copy link
Owner

tobami commented Mar 31, 2015

Do you mean data bags?

Do you have an example in which the name leaks information?

@halida halida changed the title Is there anyway to delete data tags after deployed? Is there anyway to delete data bags after deployed? Mar 31, 2015
@halida
Copy link
Contributor Author

halida commented Mar 31, 2015

Yes, Sorry about the typo.

I have lots of nodes, If one of the node is compromised, The hacker will know all my data bag names.
For example, I use data bag to deploy ssh authorized_keys, the hacker will know all the admins who can access the nodes.

@tobami
Copy link
Owner

tobami commented Mar 31, 2015

There is currently no way of doing that. It could be added though. The difficult part would be only deleting encrypted ones. Alternatively, all data bags could be deleted every time, you just accept the rsync cost on every deploy

@halida
Copy link
Contributor Author

halida commented Apr 1, 2015

No need only delete encrypted ones, delete all is better. also this feature can be toggled, like:

fix node:test --delete-databags

tobami added a commit that referenced this issue Apr 9, 2015
add remove_data_bags, Fix issue #242
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