Chef vault not encrypting for clients


#1

Hi,

I have a weird problem with Chef Vault. If I run

$ knife search node ‘role:infolNewWeb’

it finds the 3 nodes it’s supposed to, but if I run

$ knife vault update configs serialliker-sos -S ‘role:infolNewWeb’

the configs/serialliker-sos isn’t encrypted with these nodes’ public keys.

Tried

$ knife vault refresh configs serialliker-sos

too, nothing happens. All of these commands return 0 though. I tried
Googling, but nothing usable came out of it, I tried to get help on
Freenode/#chef, nobody answered. Any idea what happens here?

Cheers,
Attila / r1pp3rj4ck


#2

Attila,

Make sure you’re using the client mode of vault
Em 29/09/2015 04:38, “Attila Bukor” attila.bukor@gmail.com escreveu:

Hi,

I have a weird problem with Chef Vault. If I run

$ knife search node ‘role:infolNewWeb’

it finds the 3 nodes it’s supposed to, but if I run

$ knife vault update configs serialliker-sos -S ‘role:infolNewWeb’

the configs/serialliker-sos isn’t encrypted with these nodes’ public keys.

Tried

$ knife vault refresh configs serialliker-sos

too, nothing happens. All of these commands return 0 though. I tried
Googling, but nothing usable came out of it, I tried to get help on
Freenode/#chef, nobody answered. Any idea what happens here?

Cheers,
Attila / r1pp3rj4ck


#3

Hi Tiago,

Thanks for the idea, but it’s already set in my knife.rb, I also have tried
setting it as an argument.

On Tue, Sep 29, 2015 at 9:51 PM Tiago Cruz tiago.tuxkiller@gmail.com
wrote:

Attila,

Make sure you’re using the client mode of vault
Em 29/09/2015 04:38, “Attila Bukor” attila.bukor@gmail.com escreveu:

Hi,

I have a weird problem with Chef Vault. If I run

$ knife search node ‘role:infolNewWeb’

it finds the 3 nodes it’s supposed to, but if I run

$ knife vault update configs serialliker-sos -S ‘role:infolNewWeb’

the configs/serialliker-sos isn’t encrypted with these nodes’ public keys.

Tried

$ knife vault refresh configs serialliker-sos

too, nothing happens. All of these commands return 0 though. I tried
Googling, but nothing usable came out of it, I tried to get help on
Freenode/#chef, nobody answered. Any idea what happens here?

Cheers,
Attila / r1pp3rj4ck