diff --git a/src/content/partials/workers/wrangler-commands/hyperdrive.mdx b/src/content/partials/workers/wrangler-commands/hyperdrive.mdx index 4ded811a2eafe0..eb1d158aa7c2ae 100644 --- a/src/content/partials/workers/wrangler-commands/hyperdrive.mdx +++ b/src/content/partials/workers/wrangler-commands/hyperdrive.mdx @@ -16,22 +16,22 @@ wrangler hyperdrive create [OPTIONS] - The name of the Hyperdrive configuration to create. - `--connection-string` - The database connection string in the form `postgres://user:password@hostname:port/database`. -- `--host` +- `--origin-host` - The hostname or IP address Hyperdrive should connect to. -- `--port` +- `--origin-port` - The database port to connect to. -- `--scheme` +- `--origin-scheme` - The scheme used to connect to the origin database, for example, postgresql or postgres. - `--database` - The database (name) to connect to. For example, Postgres or defaultdb. -- `--user` +- `--origin-user` - The username used to authenticate to the database. -- `--password` +- `--origin-password` - The password used to authenticate to the database. - `--access-client-id` - - The Client ID of the Access token to use when connecting to the origin database, must be set with a Client Access Secret. Mutually exclusive with `port`. + - The Client ID of the Access token to use when connecting to the origin database, must be set with a Client Access Secret. Mutually exclusive with `origin-port`. - `--access-client-secret` - - The Client Secret of the Access token to use when connecting to the origin database, must be set with a Client Access ID. Mutually exclusive with `port`. + - The Client Secret of the Access token to use when connecting to the origin database, must be set with a Client Access ID. Mutually exclusive with `origin-port`. - `--caching-disabled` - Disables the caching of SQL responses. - `--max-age` @@ -51,10 +51,14 @@ wrangler hyperdrive update [OPTIONS] - The ID of the Hyperdrive configuration to update. - `--name` - The new name of the Hyperdrive configuration. +- `--connection-string` + - The database connection string in the form `postgres://user:password@hostname:port/database`. - `--origin-host` - The new database hostname or IP address Hyperdrive should connect to. - `--origin-port` - The new database port to connect to. +- `--origin-scheme` + - The scheme used to connect to the origin database, for example, postgresql or postgres. - `--database` - The new database (name) to connect to. For example, Postgres or defaultdb. - `--origin-user`