From a640993b946fc8a126db48ac18eb6721d5f6ff14 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Mon, 26 Oct 2026 18:15:01 +0100 Subject: [PATCH] Generate the Laravel APP_KEY of Input during the installation Laravel accepts a 32-character key, which token-hex with 16 bytes provides, so the installation no longer asks the user to create one with openssl. --- oci/catalog/apps/input.json | 12 +++++++++--- oci/catalog/curated/input.json | 12 +++++++++--- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/oci/catalog/apps/input.json b/oci/catalog/apps/input.json index e4966d74..026ce1d8 100644 --- a/oci/catalog/apps/input.json +++ b/oci/catalog/apps/input.json @@ -74,8 +74,7 @@ "example": "", "required": true, "sensitive": true, - "source": "upstream-documentation", - "prompt": "APP_KEY: use the upstream command openssl rand -base64 32 and prefix its output with base64:" + "source": "upstream-documentation" } ], "volumes": [ @@ -416,7 +415,14 @@ "owner_strategy": "image-user", "mode": "0755" } - ] + ], + "generated_sensitive_environment": { + "APP_KEY": { + "strategy": "token-hex", + "bytes": 16, + "prompt": false + } + } } }, "compatibility": { diff --git a/oci/catalog/curated/input.json b/oci/catalog/curated/input.json index e4966d74..026ce1d8 100644 --- a/oci/catalog/curated/input.json +++ b/oci/catalog/curated/input.json @@ -74,8 +74,7 @@ "example": "", "required": true, "sensitive": true, - "source": "upstream-documentation", - "prompt": "APP_KEY: use the upstream command openssl rand -base64 32 and prefix its output with base64:" + "source": "upstream-documentation" } ], "volumes": [ @@ -416,7 +415,14 @@ "owner_strategy": "image-user", "mode": "0755" } - ] + ], + "generated_sensitive_environment": { + "APP_KEY": { + "strategy": "token-hex", + "bytes": 16, + "prompt": false + } + } } }, "compatibility": {