@masterkorp I've confirmed that this is most likely a chef-solo/data bag naming issue. You have a data bag item called pgbarman/backup with a JSON file called./test/databags/pgbarman/backup.json but the id attribute in that JSON is not 'backup', but 'barman'.Your JSON id value must match the name of the.json file, in this case 'backup' or chef-solo won't properly load the data bag item. I was able to reproduce this by making a small cookbook of the shape:.├── metadata.rb├── recipes│ └── default.rb└── test└── databags└── pgbarman└── backup.jsonwith a.kitchen.yml of.
Encrypted data bags use a shared secret and symmetric encryption of the data bag values. The current version (v2) uses AES-256-CBC with an additional SHA256 HMAC. The next version (v3) will use AES-256-GCM. Knife data bag¶ edit on GitHub Data bags store global variables as JSON data. Data bags are indexed for searching and can be loaded by a cookbook or accessed during a search. A data bag item may be encrypted using shared secret encryption. This allows each data bag item to store confidential information (such as a database password) or to be.