From e670644634982e5ae63a6e1ae541780db224b44c Mon Sep 17 00:00:00 2001 From: Batuhan Taskaya Date: Wed, 24 Feb 2021 11:50:17 +0300 Subject: [PATCH] azure: support service principal in error messages as login_method (#5514) --- dvc/fs/azure.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dvc/fs/azure.py b/dvc/fs/azure.py index 46cbf9999..497666ec8 100644 --- a/dvc/fs/azure.py +++ b/dvc/fs/azure.py @@ -78,6 +78,10 @@ class AzureFileSystem(BaseFileSystem): for login_method, required_keys in [ # noqa ("connection string", ["connection_string"]), + ( + "AD service principal", + ["tenant_id", "client_id", "client_secret"], + ), ("account key", ["account_name", "account_key"]), ("SAS token", ["account_name", "sas_token"]), ("anonymous login", ["account_name"]),