Skip to content

Supabase link fails if password is provided via --password argument, but succeeds if it's passed at second stage #2490

@WhoAteDaCake

Description

@WhoAteDaCake

Describe the bug
Should be able to use supabase link with args or env variables, so it can be used in github actioms

To Reproduce
Steps to reproduce the behavior:

  1. Run supabase link --project-ref "Ref" --password "Password here"

Expected behavior

  1. Should link the project

Screenshots
image

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

  • Ticket ID: 5e3fd6f3c0ec43ee98fd0ec9ce79c4a1
  • Version of OS: Ubuntu 22.04
  • Version of CLI: [e.g. 1.178.2]
  • Versions of services: [output from supabase services command]
 
       SERVICE IMAGE      │      LOCAL       │  LINKED
 ─────────────────────────┼──────────────────┼────────────
   supabase/postgres      │ 15.1.1.69        │ 15.1.1.69
   supabase/gotrue        │ v2.154.2         │ v2.154.2
   postgrest/postgrest    │ v12.2.0          │ v12.2.0
   supabase/realtime      │ v2.28.32         │ -
   supabase/storage-api   │ v1.6.4           │ v1.6.4
   supabase/edge-runtime  │ v1.54.6          │ -
   supabase/studio        │ 20240422-5cf8f30 │ -
   supabase/postgres-meta │ v0.80.0          │ -
   supabase/logflare      │ 1.4.0            │ -
   supabase/supavisor     │ 1.1.56           │ -
   darthsim/imgproxy      │ v3.8.0           │ -

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions