feat(magic): add LOWERCASEUSER as magic variable (#6942)

This commit is contained in:
Joshua Hennig 2026-01-04 18:57:04 +01:00 committed by GitHub
parent 4fa3c538bc
commit 8002bb6e8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -989,6 +989,9 @@ function generateEnvValue(string $command, Service|Application|null $service = n
case 'USER':
$generatedValue = Str::random(16);
break;
case 'LOWERCASEUSER':
$generatedValue = Str::lower(Str::random(16));
break;
case 'SUPABASEANON':
$signingKey = $service->environment_variables()->where('key', 'SERVICE_PASSWORD_JWT')->first();
if (is_null($signingKey)) {