Skip to content

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.

2 participants