cli icon indicating copy to clipboard operation
cli copied to clipboard

Cannot bypass password prompt for supabase link

Open tgdn opened this issue 9 months ago • 0 comments

Describe the bug I am trying to run supabase link in a CI/CD environment but the command always prompts for a password.

I used the following

supabase link --project-ref $SUPABASE_PROJECT_ID <<< ""

I get the following error:

failed to connect to postgres: failed to connect to `host=XXX user=XXX database=XXX`: failed SASL auth (invalid SCRAM server-final-message received from server)

Expected behavior Have a flag to skip passing a password when running supabase link

System information Rerun the failing command with --create-ticket flag.

  • Ticket ID: b45ba47989b344ee958c7acfe511b27e
  • Version of CLI: v2.19.7

Additional context

  • Version of Node.js v20.18.1

tgdn avatar May 07 '25 09:05 tgdn