lib/hiera/backend/vault_backend.rb in confidante-0.28.0.pre.20 vs lib/hiera/backend/vault_backend.rb in confidante-0.28.0.pre.21
- old
+ new
@@ -54,9 +54,10 @@
throw(:unsupported_secrets_engine) unless source[:engine] == 'kv'
mount = source[:mount]
full_path = "#{source[:path]}/#{key}"
+ Hiera.debug("Looking up #{full_path} at #{mount}")
secret = vault_client.kv(mount).read(full_path)
return nil unless secret
secret.data[:value]
end