inspec / inspec-vault

An InSpec input source plugin for HashiCorp Vault
Other
9 stars 6 forks source link

Implement databag fallback #32

Open thheinen opened 4 years ago

thheinen commented 4 years ago

Description

Implement the possibility to fall back to a databag when used in Test Kitchen, just like with chef-vault.

Related Issue

Way of Testing with Test Kitchen #31

Types of changes

Checklist:

thheinen commented 4 years ago

I can't quite reproduce the :eof thing locally. Do you have a databag item at test/integration/data_bags/inspec/vault.json? What's the contents of it?

clintoncwolfe commented 4 years ago

I have:

[cwolfe@lodi temp]$ more test/integration/data_bags/inspec/vault.json
{
  "id":"vault",
  "input-01":"from-databag"
}