azure: support service principal in error messages as login_method (#5514)

This commit is contained in:
Batuhan Taskaya
2021-02-24 10:50:17 +02:00
committed by GitHub
parent a26f2995ef
commit e670644634
+4
View File
@@ -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"]),