feat(security): add editable cloud credential pages

Add dedicated show/edit pages for cloud provider tokens and cloud-init
scripts, including descriptions and UUID routes.

Generate private keys directly from the index and surface cloud provider
API loading errors in server creation flows.
This commit is contained in:
Andras Bacsai
2026-07-08 12:58:27 +02:00
parent 7236cb8228
commit e200d881f5
36 changed files with 1196 additions and 126 deletions
+1 -1
View File
@@ -291,7 +291,7 @@ class PrivateKey extends BaseModel
public function getKeyLocation()
{
return "/var/www/html/storage/app/ssh/keys/ssh_key@{$this->uuid}";
return Storage::disk('ssh-keys')->path("ssh_key@{$this->uuid}");
}
public function updatePrivateKey(array $data)