"azurerm_data_factory_linked_service_data_lake_storage_gen2" - supports property "storage_account_key" #12136
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
this linked service supports three authentication: storage_account_key, service principal, managed identity
this PR add supports for storage_account_key authentication.
Besides, according to https://docs.microsoft.com/en-us/azure/data-factory/connector-azure-data-lake-storage#linked-service-properties.
url
,accountKey
is required when using Account key authentication.accountKey
not returned in response.url
,servicePrincipalId
,servicePrincipalCredential
,tenant
is required when using service principal authenticationurl
is needed when using msi authentication.So I added some limitation for
tenant
schema.because
accountKey
is not returned in response, in the read function, it's hard to know whether users are using Account key authentication or msi authentication. So I removed thed.set("use_use_managed_identity", xxx)
.