Uchiwa should not store sensu api credentials as unencrypted node attributes.
The code change below will allow storing uchiwa settings in an encrypted data bag.
It is patterned after support for this in the sensu cookbook - https://github.com/sensu/sensu-chef
If the data bag exists, uchiwa settings will get merged, and uchiwa api settings will be replaced with the ones in the data bags.
test/fixtures/unencrypted.json has been provided for reference
Uchiwa should not store sensu api credentials as unencrypted node attributes. The code change below will allow storing uchiwa settings in an encrypted data bag. It is patterned after support for this in the sensu cookbook - https://github.com/sensu/sensu-chef If the data bag exists, uchiwa settings will get merged, and uchiwa api settings will be replaced with the ones in the data bags. test/fixtures/unencrypted.json has been provided for reference