Hi ,
 
I am trying to get secrets from vault. 

*vault*.*pp:*

$d = Deferred('vault_lookup::lookup', ["secret/data/test", 
'https://examplevault.com:8200'])

node default {
  notify { example :
    message => $d
  }
}

*The above file will give output* :
        Notice: {"data"=>{"city"=>"Bangalore", "name"=>"hari"}, 
"metadata"=>{"created_time"=>"2023-02-21T06:37:36.463680713Z", 
"deletion_time"=>"", "destroyed"=>false, "version"=>3}}

but How to get particular data (city and name values)

Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/3ca6834d-6761-4e21-81ef-919873faeee1n%40googlegroups.com.

Reply via email to