From 2560bec87515c5fa5a8ee48418adb39a02158e1b Mon Sep 17 00:00:00 2001 From: Adrian Gracia Date: Tue, 4 Mar 2025 11:08:39 -0600 Subject: [PATCH 1/5] SQC-354 add mtls fields for hyperdrive command --- .../partials/workers/wrangler-commands/hyperdrive.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/content/partials/workers/wrangler-commands/hyperdrive.mdx b/src/content/partials/workers/wrangler-commands/hyperdrive.mdx index 17e16e5b73001ec..c43aaab0b027306 100644 --- a/src/content/partials/workers/wrangler-commands/hyperdrive.mdx +++ b/src/content/partials/workers/wrangler-commands/hyperdrive.mdx @@ -38,6 +38,10 @@ wrangler hyperdrive create [OPTIONS] - Specifies max duration for which items should persist in the cache, cannot be set when caching is disabled. - `--swr` - 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` + - Sets custom CA certificate when connecting to origin database. Must be valid UUID of already uploaded certificate via wrangler cert command. +- `--mtls-certificate-uuid` + - Sets custom mTLS client certificates when connecting to origin database. Must be valid UUID of already uploaded certificates via wrangler cert command. @@ -77,6 +81,10 @@ wrangler hyperdrive update [OPTIONS] - Specifies max duration for which items should persist in the cache, cannot be set when caching is disabled. - `--swr` - 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` + - Sets custom CA certificate when connecting to origin database. Must be valid UUID of already uploaded certificate via wrangler cert command. +- `--mtls-certificate-uuid` + - Sets custom mTLS client certificates when connecting to origin database. Must be valid UUID of already uploaded certificates via wrangler cert command. From edba179b87fee736f972c3dea9b513cceb69253a Mon Sep 17 00:00:00 2001 From: Yevgen Safronov Date: Tue, 25 Mar 2025 10:57:01 +0000 Subject: [PATCH 2/5] Update src/content/partials/workers/wrangler-commands/hyperdrive.mdx Co-authored-by: Jun Lee --- src/content/partials/workers/wrangler-commands/hyperdrive.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/partials/workers/wrangler-commands/hyperdrive.mdx b/src/content/partials/workers/wrangler-commands/hyperdrive.mdx index c43aaab0b027306..3651ffc4bce98f0 100644 --- a/src/content/partials/workers/wrangler-commands/hyperdrive.mdx +++ b/src/content/partials/workers/wrangler-commands/hyperdrive.mdx @@ -39,7 +39,7 @@ wrangler hyperdrive create [OPTIONS] - `--swr` - 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` - - Sets custom CA certificate when connecting to origin database. Must be valid UUID of already uploaded certificate via wrangler cert command. + - 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` - Sets custom mTLS client certificates when connecting to origin database. Must be valid UUID of already uploaded certificates via wrangler cert command. From 1a3ae9787be69c0b6cd0a8d9f4f128a804e5f08a Mon Sep 17 00:00:00 2001 From: Yevgen Safronov Date: Tue, 25 Mar 2025 10:57:27 +0000 Subject: [PATCH 3/5] Update src/content/partials/workers/wrangler-commands/hyperdrive.mdx Co-authored-by: Jun Lee --- src/content/partials/workers/wrangler-commands/hyperdrive.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/partials/workers/wrangler-commands/hyperdrive.mdx b/src/content/partials/workers/wrangler-commands/hyperdrive.mdx index 3651ffc4bce98f0..b1add3c96773992 100644 --- a/src/content/partials/workers/wrangler-commands/hyperdrive.mdx +++ b/src/content/partials/workers/wrangler-commands/hyperdrive.mdx @@ -41,7 +41,7 @@ wrangler hyperdrive create [OPTIONS] - `--ca-certificate-uuid` - 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` - - Sets custom mTLS client certificates when connecting to origin database. Must be valid UUID of already uploaded certificates via wrangler cert command. + - Sets custom mTLS client certificates when connecting to origin database. Must be a valid UUID of a certificate uploaded via `wrangler cert` command. From 0bec86687cd266ba629e948a9c96e13b4bb3fc99 Mon Sep 17 00:00:00 2001 From: Yevgen Safronov Date: Tue, 25 Mar 2025 10:57:34 +0000 Subject: [PATCH 4/5] Update src/content/partials/workers/wrangler-commands/hyperdrive.mdx Co-authored-by: Jun Lee --- src/content/partials/workers/wrangler-commands/hyperdrive.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/partials/workers/wrangler-commands/hyperdrive.mdx b/src/content/partials/workers/wrangler-commands/hyperdrive.mdx index b1add3c96773992..ab124b67cf0dd1f 100644 --- a/src/content/partials/workers/wrangler-commands/hyperdrive.mdx +++ b/src/content/partials/workers/wrangler-commands/hyperdrive.mdx @@ -82,7 +82,7 @@ wrangler hyperdrive update [OPTIONS] - `--swr` - 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` - - Sets custom CA certificate when connecting to origin database. Must be valid UUID of already uploaded certificate via wrangler cert command. + - 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` - Sets custom mTLS client certificates when connecting to origin database. Must be valid UUID of already uploaded certificates via wrangler cert command. From a04ab5134bb46bdba3275bbedb75832f772994be Mon Sep 17 00:00:00 2001 From: Yevgen Safronov Date: Tue, 25 Mar 2025 10:57:44 +0000 Subject: [PATCH 5/5] Update src/content/partials/workers/wrangler-commands/hyperdrive.mdx Co-authored-by: Jun Lee --- src/content/partials/workers/wrangler-commands/hyperdrive.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/partials/workers/wrangler-commands/hyperdrive.mdx b/src/content/partials/workers/wrangler-commands/hyperdrive.mdx index ab124b67cf0dd1f..d0ed7665df8863c 100644 --- a/src/content/partials/workers/wrangler-commands/hyperdrive.mdx +++ b/src/content/partials/workers/wrangler-commands/hyperdrive.mdx @@ -84,7 +84,7 @@ wrangler hyperdrive update [OPTIONS] - `--ca-certificate-uuid` - 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` - - Sets custom mTLS client certificates when connecting to origin database. Must be valid UUID of already uploaded certificates via wrangler cert command. + - Sets custom mTLS client certificates when connecting to origin database. Must be a valid UUID of a certificate uploaded via `wrangler cert` command.