Skip to content

Commit 8d5950f

Browse files
LtadrianAdrian Gracia
andauthored
SQC-480 add sslmode flag to hyperdrive command (#21261)
Co-authored-by: Adrian Gracia <[email protected]>
1 parent fd395fe commit 8d5950f

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

src/content/partials/workers/wrangler-commands/hyperdrive.mdx

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,12 @@ wrangler hyperdrive create <CONFIG_NAME> [OPTIONS]
3838
- Specifies max duration for which items should persist in the cache, cannot be set when caching is disabled.
3939
- `--swr` <Type text="number" /> <MetaInfo text="optional" />
4040
- Stale While Revalidate - Indicates the number of seconds cache may serve the response after it becomes stale, cannot be set when caching is disabled.
41-
- `--ca-certificate-uuid` <Type text="string" /> <MetaInfo text="optional" />
42-
- Sets custom CA certificate when connecting to origin database. Must be a valid UUID of a certificate uploaded via `wrangler cert` command.
43-
- `--mtls-certificate-uuid` <Type text="string" /> <MetaInfo text="optional" />
44-
- Sets custom mTLS client certificates when connecting to origin database. Must be a valid UUID of a certificate uploaded via `wrangler cert` command.
41+
- `--ca-certificate-id` <Type text="string" /> <MetaInfo text="optional" />
42+
- Sets custom CA certificate when connecting to origin database.
43+
- `--mtls-certificate-id` <Type text="string" /> <MetaInfo text="optional" />
44+
- Sets custom mTLS client certificates when connecting to origin database.
45+
- `--sslmode` <Type text="string" /> <MetaInfo text="optional" />
46+
- Sets SSL mode for CA verification. Must be `require` | `verify-ca` | `verify-full`.
4547

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

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

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

0 commit comments

Comments
 (0)