From 12b5af9359f23e94dc18c2fe698684f59231e6ee Mon Sep 17 00:00:00 2001 From: Daniel Falkner Date: Fri, 1 Nov 2024 08:58:04 -0700 Subject: [PATCH] Adding OAuth as supported source account AuthN method using blob/file server-to-server copies (#2838) * Update helpMessages.go * Update README.md * updated copy auth docs --------- Co-authored-by: Gauri Lamunion Co-authored-by: Gauri Lamunion <51212198+gapra-msft@users.noreply.github.com> --- README.md | 16 ++++++++-------- cmd/helpMessages.go | 11 +++++------ 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index a14b45492..352d5893f 100644 --- a/README.md +++ b/README.md @@ -64,19 +64,19 @@ The general format of the AzCopy commands is: `azcopy [command] [arguments] --[f * `copy` - Copies source data to a destination location. The supported directions are: - Local File System <-> Azure Blob (SAS or OAuth authentication) - - Local File System <-> Azure Files (Share/directory SAS authentication) + - Local File System <-> Azure Files (Share/directory SAS or OAuth authentication) - Local File System <-> Azure Data Lake Storage (ADLS Gen2) (SAS, OAuth, or SharedKey authentication) - - Azure Blob (SAS or public) -> Azure Blob (SAS or OAuth authentication) - - Azure Blob (SAS or public) -> Azure Files (SAS) - - Azure Files (SAS) -> Azure Files (SAS) - - Azure Files (SAS) -> Azure Blob (SAS or OAuth authentication) + - Azure Blob (SAS, OAuth or public authentication) -> Azure Blob (SAS or OAuth authentication) + - Azure Blob (SAS, OAuth or public authentication) -> Azure Files (SAS or OAuth authentication) + - Azure Files (SAS or OAuth authentication) -> Azure Files (SAS or OAuth authentication) + - Azure Files (SAS or OAuth authentication) -> Azure Blob (SAS or OAuth authentication) - AWS S3 (Access Key) -> Azure Block Blob (SAS or OAuth authentication) - Google Cloud Storage (Service Account Key) -> Azure Block Blob (SAS or OAuth authentication) [Preview] * `sync` - Replicate source to the destination location. The supported directions are: - Local File System <-> Azure Blob (SAS or OAuth authentication) - - Local File System <-> Azure Files (Share/directory SAS authentication) - - Azure Blob (SAS or public) -> Azure Files (SAS) + - Local File System <-> Azure Files (Share/directory SAS or OAuth authentication) + - Azure Blob (SAS, OAuth or public authentication) -> Azure Files (SAS or OAuth authentication) * `login` - Log in to Azure Active Directory (AD) to access Azure Storage resources. @@ -151,4 +151,4 @@ provided by the bot. You will only need to do this once across all repos using o This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or -contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. \ No newline at end of file +contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. diff --git a/cmd/helpMessages.go b/cmd/helpMessages.go index 7b2986fa6..3c0bb203c 100644 --- a/cmd/helpMessages.go +++ b/cmd/helpMessages.go @@ -21,15 +21,14 @@ const copyCmdShortDescription = "Copies source data to a destination location" const copyCmdLongDescription = ` Copies source data to a destination location. The supported directions are: - local <-> Azure Blob (SAS or OAuth authentication) - - local <-> Azure Files (Share/directory SAS authentication) + - local <-> Azure Files (Share/directory SAS or OAuth authentication) - local <-> ADLS Gen 2 (SAS, OAuth, or SharedKey authentication) - - Azure Blob (SAS or public) -> Azure Blob (SAS or OAuth authentication) - - ADLS Gen 2 (SAS or public) -> ADLS Gen 2 (SAS or OAuth authentication) + - Azure Blob (SAS, OAuth or public authentication) -> Azure Blob (SAS or OAuth authentication) - ADLS Gen2 (SAS or OAuth authentication) <-> ADLS Gen2 (SAS or OAuth authentication) - ADLS Gen2 (SAS or OAuth authentication) <-> Azure Blob (SAS or OAuth authentication) - - Azure Blob (SAS or public) -> Azure Files (SAS) - - Azure Files (SAS) -> Azure Files (SAS) - - Azure Files (SAS) -> Azure Blob (SAS or OAuth authentication) + - Azure Blob (SAS, OAuth or public) -> Azure Files (SAS or OAuth authentication) + - Azure Files (SAS or OAuth authentication) -> Azure Files (SAS or OAuth authentication) + - Azure Files (SAS or OAuth authentication) -> Azure Blob (SAS or OAuth authentication) - AWS S3 (Access Key) -> Azure Block Blob (SAS or OAuth authentication) - Google Cloud Storage (Service Account Key) -> Azure Block Blob (SAS or OAuth authentication)