Skip to content

Cannot bypass password prompt for supabase link #3541

@tgdn

Description

@tgdn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions