What is the correct format for adding a secret file in my knife.rb? I've read the docs and can't seem to get the formatting right, or perhaps it is not working.
I have tried adding both:
knife[:secret_file] = "/path/to/data_bag_secret"
and
secret_file "/path/to/data_bag_secret"
Neither of these seem to encrypt my secrets when I use knife data bag create bag key
If I use knife data bag create bag key --secret-file /path/to/data_bag_secret
it encrypts correctly however.
It doesn't appear to be encrypted when I go look at the data bags on https://manage.chef.io, which is why I think it's not encrypting. When I manually pass the switch it does encrypt correctly on https://manage.chef.io.