From 6ef1ebe790d3a6ef6f768a8951eac79c88dee8dd Mon Sep 17 00:00:00 2001 From: Thomas Gauvin Date: Tue, 19 Nov 2024 10:31:14 -0500 Subject: [PATCH 1/3] add supported authentication modes --- src/content/changelogs/hyperdrive.yaml | 6 ++++++ .../reference/supported-databases.mdx | 21 ++++++++++++------- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/src/content/changelogs/hyperdrive.yaml b/src/content/changelogs/hyperdrive.yaml index e6f8682dd49e76..921c6150587e36 100644 --- a/src/content/changelogs/hyperdrive.yaml +++ b/src/content/changelogs/hyperdrive.yaml @@ -5,6 +5,12 @@ productLink: "/hyperdrive/" productArea: Developer platform productAreaLink: /workers/platform/changelog/platform/ entries: + - publish_date: "2024-11-19" + title: Hyperdrive now supports clear-text password authentication + description: |- + When connecting to a database that requires secure clear-text password authentication over TLS, Hyperdrive will now support this authentication method. + + Refer to the documentation to see [all PostgreSQL authentication modes supported by Hyperdrive](/hyperdrive/reference/supported-databases#supported-postgresql-authentication-modes). - publish_date: "2024-10-30" title: New Hyperdrive configurations to private databases using Tunnels are validated before creation description: |- diff --git a/src/content/docs/hyperdrive/reference/supported-databases.mdx b/src/content/docs/hyperdrive/reference/supported-databases.mdx index 845497ed06837b..17e3e6e30db487 100644 --- a/src/content/docs/hyperdrive/reference/supported-databases.mdx +++ b/src/content/docs/hyperdrive/reference/supported-databases.mdx @@ -3,7 +3,6 @@ pcx_content_type: concept title: Supported databases sidebar: order: 2 - --- ## Database support @@ -12,12 +11,20 @@ Details on which database engines and/or specific database providers are support | Database Engine | Supported | Known supported versions | Details | | --------------- | ------------------------ | ------------------------ | ---------------------------------------------------------------------------------------------------- | -| PostgreSQL | ✅ | `9.0` to `16.x` | Both self-hosted and managed (AWS, Google Cloud, Oracle) instances are supported. | -| Neon | ✅ | All | Neon currently runs Postgres 15.x | -| Supabase | ✅ | All | Supabase currently runs Postgres 15.x | -| Timescale | ✅ | All | See the [Timescale guide](/hyperdrive/examples/timescale/) to connect. | -| Materialize | ✅ | All | Postgres-compatible. Refer to the [Materialize guide](/hyperdrive/examples/materialize/) to connect. | -| CockroachDB | ✅ | All | Postgres-compatible. Refer to the [CockroachDB](/hyperdrive/examples/cockroachdb/) guide to connect. | +| PostgreSQL | ✅ | `9.0` to `16.x` | Both self-hosted and managed (AWS, Google Cloud, Oracle) instances are supported. | +| Neon | ✅ | All | Neon currently runs Postgres 15.x | +| Supabase | ✅ | All | Supabase currently runs Postgres 15.x | +| Timescale | ✅ | All | See the [Timescale guide](/hyperdrive/examples/timescale/) to connect. | +| Materialize | ✅ | All | Postgres-compatible. Refer to the [Materialize guide](/hyperdrive/examples/materialize/) to connect. | +| CockroachDB | ✅ | All | Postgres-compatible. Refer to the [CockroachDB](/hyperdrive/examples/cockroachdb/) guide to connect. | | MySQL | Coming soon | | | | SQL Server | Not currently supported. | | | | MongoDB | Not currently supported. | | | + +## Supported PostgreSQL authentication modes + +Hyperdrive supports the following authentication modes for connecting to PostgreSQL databases: + +- Password Authentication (`md5`) +- Password Authentication (`password`) (clear-text password) +- SASL Authentication (`SCRAM-SHA-256`) From b66f541db583bf225014bd4b0986d0eec6c82474 Mon Sep 17 00:00:00 2001 From: Thomas Gauvin <35609369+thomasgauvin@users.noreply.github.com> Date: Tue, 19 Nov 2024 10:34:35 -0500 Subject: [PATCH 2/3] Update src/content/docs/hyperdrive/reference/supported-databases.mdx --- src/content/docs/hyperdrive/reference/supported-databases.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/hyperdrive/reference/supported-databases.mdx b/src/content/docs/hyperdrive/reference/supported-databases.mdx index 17e3e6e30db487..b73e566e00412b 100644 --- a/src/content/docs/hyperdrive/reference/supported-databases.mdx +++ b/src/content/docs/hyperdrive/reference/supported-databases.mdx @@ -23,7 +23,7 @@ Details on which database engines and/or specific database providers are support ## Supported PostgreSQL authentication modes -Hyperdrive supports the following authentication modes for connecting to PostgreSQL databases: +Hyperdrive supports the following [authentication modes](https://www.postgresql.org/docs/9.1/auth-methods.html) for connecting to PostgreSQL databases: - Password Authentication (`md5`) - Password Authentication (`password`) (clear-text password) From aa79d59ae4c18e1bf0375a83e6b5b01ab15b4184 Mon Sep 17 00:00:00 2001 From: Thomas Gauvin <35609369+thomasgauvin@users.noreply.github.com> Date: Tue, 19 Nov 2024 10:37:09 -0500 Subject: [PATCH 3/3] Update src/content/docs/hyperdrive/reference/supported-databases.mdx --- src/content/docs/hyperdrive/reference/supported-databases.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/hyperdrive/reference/supported-databases.mdx b/src/content/docs/hyperdrive/reference/supported-databases.mdx index b73e566e00412b..ff9b6195befdf1 100644 --- a/src/content/docs/hyperdrive/reference/supported-databases.mdx +++ b/src/content/docs/hyperdrive/reference/supported-databases.mdx @@ -23,7 +23,7 @@ Details on which database engines and/or specific database providers are support ## Supported PostgreSQL authentication modes -Hyperdrive supports the following [authentication modes](https://www.postgresql.org/docs/9.1/auth-methods.html) for connecting to PostgreSQL databases: +Hyperdrive supports the following [authentication modes](https://www.postgresql.org/docs/current/auth-methods.html) for connecting to PostgreSQL databases: - Password Authentication (`md5`) - Password Authentication (`password`) (clear-text password)