1
mirror of https://github.com/rclone/rclone synced 2024-12-28 21:03:45 +01:00
rclone/backend/azureblob
James Lim 2fd543c989 azure: add support for service principals - fixes #3230
Before: users can only connect to Azure blob containers using the access keys
from the storage account.

After: users can additionally choose connect to Azure blob containers
using service principals. This uses OAuth2 under the hood to exchange
a client ID and client secret for a short-lived access token.

Ref:
- https://github.com/rclone/rclone/issues/3230
- https://docs.microsoft.com/en-us/azure/storage/common/storage-auth-aad-app?tabs=dotnet#well-known-values-for-authentication-with-azure-ad
- https://docs.microsoft.com/en-us/azure/developer/go/azure-sdk-authorization#available-authentication-types-and-methods
- https://gist.github.com/ItalyPaleAle/ec6498bfa81a96f9ca27a2da6f60a770
2020-12-09 17:52:15 +00:00
..
azureblob_internal_test.go build: make rclone build with wasm 2020-08-10 17:32:21 +01:00
azureblob_test.go azure: add support for service principals - fixes #3230 2020-12-09 17:52:15 +00:00
azureblob_unsupported.go build: make rclone build with wasm 2020-08-10 17:32:21 +01:00
azureblob.go azure: add support for service principals - fixes #3230 2020-12-09 17:52:15 +00:00