Can you please provide me working example of it?
Opened this issue · 0 comments
nisargrthakkar commented
Working on laravel project, and basically, I am new in laravel. Now my point is where we require to put sensitive data into the vault. But I don't know in which file I have to put given code. and how its work for me.
// get the vault seal status
$vault = app('vault');
$seal_status = $vault->sys()->sealStatus();
// seal the vault
$token = '1389b58b-0000-4800-a000-1d8869aee825'; // your vault authentication token
$vault = app('vault')->setToken($token);
$vault->sys()->seal();
if you have any example can you please share with us. So I can better understand this thing.
Thank you in advance.