'encrypted', 'passphrase' => 'encrypted', 'disabled_at' => 'datetime', 'last_used_at' => 'datetime', ]; protected static function booted(): void { static::creating(fn (self $c) => $c->uuid ??= (string) Str::uuid()); } public function server(): BelongsTo { return $this->belongsTo(Server::class); } /** A "gesperrt" (disabled) credential is kept on record but refused by the vault. */ public function getDisabledAttribute(): bool { return $this->disabled_at !== null; } }