I am very new to chef and trying to secure passwords using databags. Unfortunately, I tried in different ways but unable to succeed. I followed different tutorials first and second. I understood only two steps but later on I was unable to move forward.
- I created secret key using openssl
- In link1 step 2 says
knife data bag create passwords mysql --secret-file /tmp/my_data_bag_keybut I don't know where it is creating the databag.
Can some one guide me from step two? I am trying to secure my database password. I got stuck after creating secret file.