Move integration credentials into encrypted dashboard settings
Deploy HickLab3D Dashboard / Deploy to production (push) Successful in 1m42s

This commit is contained in:
Hickmeister
2026-10-11 16:15:02 +01:00
parent 96561dc3d2
commit ff9960fe06
23 changed files with 493 additions and 41 deletions
+28
View File
@@ -0,0 +1,28 @@
<?php
namespace App\Models;
use Database\Factories\IntegrationSettingFactory;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class IntegrationSetting extends Model
{
/** @use HasFactory<IntegrationSettingFactory> */
use HasFactory;
public $incrementing = false;
protected $primaryKey = 'provider';
protected $keyType = 'string';
protected $fillable = ['provider', 'settings'];
protected $hidden = ['settings'];
protected function casts(): array
{
return ['settings' => 'encrypted:array'];
}
}