Session
OPS-IN-DEVOPS: SFTP with Az DevOps.
In this Session, I will demonstrate SFTP with Azure DevOps.
AUTOMATION OBJECTIVE:-
- Validate if provided Resource Group exists. If Not, Pipeline will FAIL.
- Validate if Storage Account exists inside the specified Resource Group. If Not, Pipeline will FAIL.
- Validate if Hierarchical Namespace is Enabled in the specified Storage Account. If Not, Pipeline will FAIL.
- Validate if Key Vault exists inside the specified Resource Group. If Not, Pipeline will FAIL.
- Validate if SFTP is enabled in the specified Storage Account. If No, it will enable SFTP and Proceed to Next Validation. If Yes, It will skip and and Proceed to Next Validation.
- Validate if SFTP Local User Home Directory Container exists. If Yes, Pipeline will FAIL.
- Validate If SFTP Local User Exists. If Yes, Pipeline will FAIL.
- If all of the above validation is SUCCESSFUL, SFTP will be Enabled or Skipped in the Storage Account (Depending upon the Status at the time), Local SSH User will be created and Password will be Generated. Finally, Local SSH Username, Password and Connection String will be stored in Key Vault.
For more details, please refer my blog:-
- https://dev.to/arindam0310018/sftp-with-az-devops-7on
Arindam Mitra
2 x Microsoft MVP, Sessionize Active Speaker 2023, Cloud Services Lead, Blogger ✍️, Public Speaker 🔊, Jogger 🏃♂️, Hiking 🥾, Traveler, Citizen of the 🌎
Zürich, Switzerland
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top