Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions src/content/partials/workers/wrangler-commands/hyperdrive.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ wrangler hyperdrive create <CONFIG_NAME> [OPTIONS]
- Specifies max duration for which items should persist in the cache, cannot be set when caching is disabled.
- `--swr` <Type text="number" /> <MetaInfo text="optional" />
- Stale While Revalidate - Indicates the number of seconds cache may serve the response after it becomes stale, cannot be set when caching is disabled.
- `--ca-certificate-uuid` <Type text="string" /> <MetaInfo text="optional" />
- Sets custom CA certificate when connecting to origin database. Must be a valid UUID of a certificate uploaded via `wrangler cert` command.
- `--mtls-certificate-uuid` <Type text="string" /> <MetaInfo text="optional" />
- Sets custom mTLS client certificates when connecting to origin database. Must be a valid UUID of a certificate uploaded via `wrangler cert` command.
- `--ca-certificate-id` <Type text="string" /> <MetaInfo text="optional" />
- Sets custom CA certificate when connecting to origin database.
- `--mtls-certificate-id` <Type text="string" /> <MetaInfo text="optional" />
- Sets custom mTLS client certificates when connecting to origin database.
- `--sslmode` <Type text="string" /> <MetaInfo text="optional" />
- Sets SSL mode for CA verification. Must be `require` | `verify-ca` | `verify-full`.

<Render file="wrangler-commands/global-flags" product="workers" />

Expand Down Expand Up @@ -81,10 +83,12 @@ wrangler hyperdrive update <ID> [OPTIONS]
- Specifies max duration for which items should persist in the cache, cannot be set when caching is disabled.
- `--swr` <Type text="number" /> <MetaInfo text="optional" />
- Stale While Revalidate - Indicates the number of seconds cache may serve the response after it becomes stale, cannot be set when caching is disabled.
- `--ca-certificate-uuid` <Type text="string" /> <MetaInfo text="optional" />
- Sets custom CA certificate when connecting to origin database. Must be a valid UUID of a certificate uploaded via `wrangler cert` command.
- `--mtls-certificate-uuid` <Type text="string" /> <MetaInfo text="optional" />
- Sets custom mTLS client certificates when connecting to origin database. Must be a valid UUID of a certificate uploaded via `wrangler cert` command.
- `--ca-certificate-id` <Type text="string" /> <MetaInfo text="optional" />
- Sets custom CA certificate when connecting to origin database.
- `--mtls-certificate-id` <Type text="string" /> <MetaInfo text="optional" />
- Sets custom mTLS client certificates when connecting to origin database.
- `--sslmode` <Type text="string" /> <MetaInfo text="optional" />
- Sets SSL mode for CA verification. Must be `require` | `verify-ca` | `verify-full`.

<Render file="wrangler-commands/global-flags" product="workers" />

Expand Down