-
Notifications
You must be signed in to change notification settings - Fork 4k
Feature/sftp module #28373
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
base: main
Are you sure you want to change the base?
Feature/sftp module #28373
Conversation
- New-AzSftpCertificate cmdlet for SSH certificate generation - Connect-AzSftp cmdlet for SFTP connections - Support for Azure AD and local user authentication - Complete SFTP session management - RSA parser and utility functions - All files include proper Apache License 2.0 headers
Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
Thank you for your contribution @DevanshG1! We will review the pull request and get back to you soon. |
@microsoft-github-policy-service agree company="Microsoft" |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Hi @DevanshG1, if you are an MSFT employee it is recommended for you to join the Azure Github organization. Otherwise your PR would be labelled as customer report |
/azp run |
Commenter does not have sufficient privileges for PR 28373 in repo Azure/azure-powershell |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a new SFTP module for Azure PowerShell that enables secure connections to Azure Storage Accounts via SFTP protocol with integrated Azure AD authentication. The module provides consistent authentication methods aligned with the existing Az.Ssh module design.
Key features added:
New-AzSftpCertificate
cmdlet for SSH certificate generation using Azure AD credentialsConnect-AzSftp
cmdlet for establishing SFTP connections with multiple authentication modes- Support for Azure AD, certificate-based, SSH key, and local user authentication
Reviewed Changes
Copilot reviewed 28 out of 29 changed files in this pull request and generated 8 comments.
Show a summary per file
File | Description |
---|---|
src/Sftp/Sftp/help/*.md | Comprehensive help documentation for both new cmdlets with detailed examples and parameter descriptions |
src/Sftp/Sftp/SftpCommands/*.cs | Core cmdlet implementations with proper parameter sets and authentication flow handling |
src/Sftp/Sftp/Models/*.cs | Data models for session management, authentication files, and certificate information |
src/Sftp/Sftp/Common/*.cs | Utility classes for SSH operations, file management, and RSA key parsing |
src/Sftp/Sftp/*.csproj | Project configuration with appropriate dependencies and references |
src/Sftp/Sftp.Test/**/*.cs | Comprehensive unit test coverage for utilities, parsers, and scenario testing |
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Commenter does not have sufficient privileges for PR 28373 in repo Azure/azure-powershell |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Add SFTP Module for Azure Storage Account Access
Description
This PR introduces a new SFTP module for Azure PowerShell that enables users to connect to Azure Storage Accounts via SFTP protocol with integrated Azure AD authentication.
Key Features:
New-AzSftpCertificate
cmdlet for SSH certificate generation using Azure ADConnect-AzSftp
cmdlet for establishing SFTP connections to Azure StorageUse Cases:
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.md
and reviewed the following information:ChangeLog.md
file(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
.## Upcoming Release
header in the past tense.ChangeLog.md
if no new release is required, such as fixing test case only.