From 157ad29a3422fa9b0fd8a373dc58141c338f0e41 Mon Sep 17 00:00:00 2001 From: Phillip Jones Date: Thu, 28 Nov 2024 08:36:23 -0800 Subject: [PATCH] Document Wrangler r2 bucket domain get command --- src/content/docs/workers/wrangler/commands.mdx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/content/docs/workers/wrangler/commands.mdx b/src/content/docs/workers/wrangler/commands.mdx index 688dbf9f236adc..83680f930fd42b 100644 --- a/src/content/docs/workers/wrangler/commands.mdx +++ b/src/content/docs/workers/wrangler/commands.mdx @@ -1122,6 +1122,23 @@ wrangler r2 bucket domain update [OPTIONS] +### `domain get` + +Get [custom domain](/r2/buckets/public-buckets/#custom-domains) connected to an R2 bucket. + +```txt +wrangler r2 bucket domain get [OPTIONS] +``` + +- `NAME` + - The name of the R2 bucket whose custom domain to retrieve. +- `--domain` + - The custom domain to get information for. +- `--jurisdiction` + - The jurisdiction where the bucket exists, if a jurisdiction has been specified. Refer to [jurisdictional restrictions](/r2/reference/data-location/#jurisdictional-restrictions). + + + ### `domain list` List [custom domains](/r2/buckets/public-buckets/#custom-domains) for an R2 bucket.