Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for retrieving Storage Account Key from KV in Data Factory File Storage Linked Service #11408

Closed
Robinson308 opened this issue Apr 21, 2021 · 3 comments · Fixed by #11436

Comments

@Robinson308
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

#10735 recently introduced Key Vault password support for Azure SQL Linked Services in Data Factory.
Could we have something similar for File Storage Linked Services, to allow the Storage Account Key to be retrieved from a KV secret?

New or Affected Resource(s)

azurerm_data_factory_linked_service_azure_file_storage

Potential Terraform Configuration

resource "azurerm_data_factory_linked_service_azure_file_storage" "AzureFileStorage23" {
  name                     = "AzureFileStorage23"
  resource_group_name      = azurerm_resource_group.myrg.name
  data_factory_name        = azurerm_data_factory.myfactory.name
  integration_runtime_name = "AutoResolveIntegrationRuntime"
  connection_string        = "DefaultEndpointsProtocol=https;AccountName=mystorage;"
  file_share               = "datashare"
  key_vault_password {
    linked_service_name = "AzureKeyVault"
	secret_name = "StorageAccountKey"
  }
}

References

@favoretti
Copy link
Collaborator

Hi, thank you for reporting this. I'll try to get this added after I'm done working on something else. Should be able to do it today though.

@ghost
Copy link

ghost commented Apr 30, 2021

This has been released in version 2.57.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example:

provider "azurerm" {
    version = "~> 2.57.0"
}
# ... other configuration ...

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants