You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In the Azure Blob Storage source type, when using the Azure connection configuration with a Service entity (tenant_id, client_id and client_secret) instead of SAS_token, an error is generated when converting the ClientSecretCredential class to string type when it should be an object. See also BlobServiceClient class
Since the ClientSecretCredential is class type object, imported from Azure SDK, this cannot be converted into a string.
See get_credentials and get_blob_service_client functions in azure_common.
To Reproduce
Steps to reproduce the behavior:
Generate a .yaml recipe type abs with azure_config.client_secret. Azure App Registry should be configured as documentation.
Execute the recipe.yml file in VSCode or cloud.
See error
Expected behavior
The expected behaviour is the same succeded message as the azure_config.token_sas.
In fact, if I change the azure_common.py replacing:
Describe the bug
In the Azure Blob Storage source type, when using the Azure connection configuration with a Service entity (tenant_id, client_id and client_secret) instead of SAS_token, an error is generated when converting the ClientSecretCredential class to string type when it should be an object. See also BlobServiceClient class
Since the ClientSecretCredential is class type object, imported from Azure SDK, this cannot be converted into a string.
See get_credentials and get_blob_service_client functions in azure_common.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The expected behaviour is the same succeded message as the azure_config.token_sas.
In fact, if I change the azure_common.py replacing:
For this:
The behaviour is shown in the below screenshots.
Screenshots and/or Screen Recordings
Fail message:
Success meassage after change get_blob_service_client function:
System details (please complete the following information):
Additional context
I've been comparing with oldest versions and I founf out e.g.v0.9.6.1 and it's not been converted into a string.
The text was updated successfully, but these errors were encountered: