Skip to content

Support for SSH private key auth in azurerm_data_factory_linked_service_sftp #11040

Open
@dkutetsky

Description

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

It will be great to add SSH private key auth ability in the Azure Data Factory Linked SFTP server. For now, we can use only Anonymous and Basic auth. Specific fields and references could be found in the Data Factory SFTP connector docs

New or Affected Resource(s)

azurerm_data_factory_linked_service_sftp

Potential Terraform Configuration

resource "azurerm_data_factory_linked_service_sftp" "sftp" {
  name                = "sftp"
  resource_group_name = "resource-group-name"
  data_factory_name   = "data-factory-name"

  authentication_type = "SshPublicKey"
  host                = "ftp.example.com"
  port                = 22
  username            = "foo"
  pass_phrase          = "pass phrase"

  # option 1: ssh public key content
  ssh_private_key_content      = "ssh-rsa AAAAB3...."

  # option 2: ssh private key file
  ssh_private_key_path      = "/var/ssh/rsa_private_key"
}

References

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions