Skip to content

Comments

Add new flyctl mpg credentials for convenience#4475

Open
soulware wants to merge 3 commits intomasterfrom
mpg-creds-uri
Open

Add new flyctl mpg credentials for convenience#4475
soulware wants to merge 3 commits intomasterfrom
mpg-creds-uri

Conversation

@soulware
Copy link
Member

Add flyctl mpg credentials for convenience.
This outputs the connection URI for the specified MPG cluster.

./bin/flyctl mpg credentials --cluster zp2wjregg49odn4q
postgres://fly-user:<REDACTED>@pgbouncer.zp2wjregg49odn4q.flympg.net/fly-db
./bin/flyctl mpg credentials
? Select Organization: [...]
? Select a Postgres cluster [...]
postgres://fly-user:<REDACTED>@pgbouncer.zp2wjregg49odn4q.flympg.net/fly-db
./bin/flyctl mpg credentials --org <ORG_SLUG>
? Select a Postgres cluster [...]
postgres://fly-user:<REDACTED>@pgbouncer.zp2wjregg49odn4q.flympg.net/fly-db

@soulware soulware requested review from jphenow and lubien July 10, 2025 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant