You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1- data bag item is encrypted with public keys of a) clients listed in -S (search) option, b) users listed in -A (admins) option. Public keys are stored on CHEF server.
And then decrypted with corresponding private keys of the same which is the one mentioned in knife.rb - And yes it is client.pem on a node if you aren't using a different key name with -K option.
2- a node of type X which was created after the vault item won't be able decrypt as it won't be listed in clients automatically. You have two options here
a) run knife encrypt/vault update command manually to add the new client
b) Have a periodically running process to do what is mentioned in "a" so new client gets added automatically.
I'm trying to understand exactly how I can use chef-vault in our environment.
Can you clarify what key is used to encrypt/decrypt on a client when I specify encrypt for all clients of type X please?
Many thanks, and apologies if this is documented somewhere I haven't found.
The text was updated successfully, but these errors were encountered: