Skip to content

Commit e0b86de

Browse files
[flyctl-bot] Update docs from flyctl (#2297)
Co-authored-by: docs-syncer[bot] <134718678+docs-syncer[bot]@users.noreply.github.com>
1 parent acec494 commit e0b86de

File tree

8 files changed

+143
-0
lines changed

8 files changed

+143
-0
lines changed

flyctl/cmd/fly_mpg.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ fly mpg [command] [flags]
1717
* [proxy](/docs/flyctl/mpg-proxy/) - Proxy to a MPG database
1818
* [restore](/docs/flyctl/mpg-restore/) - Restore MPG cluster from backup.
1919
* [status](/docs/flyctl/mpg-status/) - Show MPG cluster status.
20+
* [users](/docs/flyctl/mpg-users/) - Manage users in a managed postgres cluster
2021

2122
## Options
2223

flyctl/cmd/fly_mpg_attach.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ fly mpg attach <CLUSTER ID> [flags]
1111
~~~
1212
-a, --app string Application name
1313
-c, --config string Path to application configuration file
14+
-d, --database string The database to connect to
1415
-h, --help help for attach
16+
-u, --username string The username to connect as
1517
--variable-name string The name of the environment variable that will be added to the attached app (default "DATABASE_URL")
1618
~~~
1719

flyctl/cmd/fly_mpg_connect.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ fly mpg connect <CLUSTER ID> [flags]
1010
~~~
1111
-d, --database string The database to connect to
1212
-h, --help help for connect
13+
-u, --username string The username to connect as
1314
~~~
1415

1516
## Global Options

flyctl/cmd/fly_mpg_users.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
Manage users in a managed postgres cluster
2+
3+
4+
## Usage
5+
~~~
6+
fly mpg users [command] [flags]
7+
~~~
8+
9+
## Available Commands
10+
* [create](/docs/flyctl/mpg-users-create/) - Create a user in an MPG cluster.
11+
* [delete](/docs/flyctl/mpg-users-delete/) - Delete a user from an MPG cluster.
12+
* [list](/docs/flyctl/mpg-users-list/) - List users in an MPG cluster.
13+
* [set-role](/docs/flyctl/mpg-users-set-role/) - Update a user's role in an MPG cluster.
14+
15+
## Options
16+
17+
~~~
18+
-h, --help help for users
19+
~~~
20+
21+
## Global Options
22+
23+
~~~
24+
-t, --access-token string Fly API Access Token
25+
--debug Print additional logs and traces
26+
--verbose Verbose output
27+
~~~
28+
29+
## See Also
30+
31+
* [fly mpg](/docs/flyctl/mpg/) - Manage Managed Postgres clusters.
32+

flyctl/cmd/fly_mpg_users_create.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Create a new user in a Managed Postgres cluster.
2+
3+
## Usage
4+
~~~
5+
fly mpg users create <CLUSTER_ID> [flags]
6+
~~~
7+
8+
## Options
9+
10+
~~~
11+
-h, --help help for create
12+
-r, --role string The role of the user (schema_admin, writer, or reader)
13+
-u, --username string The username of the user
14+
~~~
15+
16+
## Global Options
17+
18+
~~~
19+
-t, --access-token string Fly API Access Token
20+
--debug Print additional logs and traces
21+
--verbose Verbose output
22+
~~~
23+
24+
## See Also
25+
26+
* [fly mpg users](/docs/flyctl/mpg-users/) - Manage users in a managed postgres cluster
27+

flyctl/cmd/fly_mpg_users_delete.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Delete a user from a Managed Postgres cluster.
2+
3+
## Usage
4+
~~~
5+
fly mpg users delete <CLUSTER_ID> [flags]
6+
~~~
7+
8+
## Options
9+
10+
~~~
11+
-h, --help help for delete
12+
-u, --username string The username to delete
13+
-y, --yes Accept all confirmations
14+
~~~
15+
16+
## Global Options
17+
18+
~~~
19+
-t, --access-token string Fly API Access Token
20+
--debug Print additional logs and traces
21+
--verbose Verbose output
22+
~~~
23+
24+
## See Also
25+
26+
* [fly mpg users](/docs/flyctl/mpg-users/) - Manage users in a managed postgres cluster
27+

flyctl/cmd/fly_mpg_users_list.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
List users in a Managed Postgres cluster.
2+
3+
## Usage
4+
~~~
5+
fly mpg users list <CLUSTER_ID> [flags]
6+
~~~
7+
8+
## Options
9+
10+
~~~
11+
-h, --help help for list
12+
-j, --json JSON output
13+
~~~
14+
15+
## Global Options
16+
17+
~~~
18+
-t, --access-token string Fly API Access Token
19+
--debug Print additional logs and traces
20+
--verbose Verbose output
21+
~~~
22+
23+
## See Also
24+
25+
* [fly mpg users](/docs/flyctl/mpg-users/) - Manage users in a managed postgres cluster
26+
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Update a user's role in a Managed Postgres cluster.
2+
3+
## Usage
4+
~~~
5+
fly mpg users set-role <CLUSTER_ID> [flags]
6+
~~~
7+
8+
## Options
9+
10+
~~~
11+
-h, --help help for set-role
12+
-r, --role string The new role for the user (schema_admin, writer, or reader)
13+
-u, --username string The username to update
14+
~~~
15+
16+
## Global Options
17+
18+
~~~
19+
-t, --access-token string Fly API Access Token
20+
--debug Print additional logs and traces
21+
--verbose Verbose output
22+
~~~
23+
24+
## See Also
25+
26+
* [fly mpg users](/docs/flyctl/mpg-users/) - Manage users in a managed postgres cluster
27+

0 commit comments

Comments
 (0)