In cloud-native engineering, securely connecting Azure DevOps pipelines to private GitHub repositories is essential — especially when working with Terraform modules that define your infrastructure. This guide walks through how to establish that connection using PowerShell Core, ensuring a secure and maintainable setup. 🛠️ Prerequisites Before you begin, make sure you have: An Azure DevOps organisation andContinueContinue reading “Integrate Azure DevOps Pipelines with Private GitHub Repos”
Category Archives: Automation Scripts
Authenticating with Azure Databricks Service Principal
While working with Azure Databricks, I have discovered a few different ways to authenticate with the Service Principal. Some of these are documented and some I have found through a lot of searching, but none I have found a quick easy guide on how to action them all. Setup Step one is of course makeContinueContinue reading “Authenticating with Azure Databricks Service Principal”
Automating Azure PIM Requests with PowerShell
Privileged Identity Management (PIM) is made to be a secure authentication method to assign user permissions via groups and monitor the access. This enables short time requests for the permissions that can require fields like reason for access, how long to have access and who is having access. This can typically be used for engineers’ContinueContinue reading “Automating Azure PIM Requests with PowerShell”
Azure DevOps REST API: Add Users and Set Administrators Easily
When using the Azure DevOps REST API to create Teams and add users, you may want to set the administrators as well at the same time. However, this REST API is not well documented on the Microsoft documentation site for the REST API. With some searching and mapping of resources, I have below the methodContinueContinue reading “Azure DevOps REST API: Add Users and Set Administrators Easily”
Download files and folders from Azure DevOps
If you have a large repository it can be a long wait on the pipeline to get it checked out, only to use a few files. In this post, I will guide you through using PowerShell to download only the files you need with either the Azure DevOps REST API or CLI. API Service InContinueContinue reading “Download files and folders from Azure DevOps “
Automating SemVer Versioning
Application versioning is a key principle in the DevOps lifecycle, this is to ensure both users and software providers can easily tack any changes made to the application or environment, we therefore want to ensure that any manual process of updating versions is replaced with an automated process. In this post, I will go throughContinueContinue reading “Automating SemVer Versioning”
Octopus Deploy Runbook cloning with the REST API
Ever wondered how you can copy an Octopus Deploy Runbook from one Project to another? It can’t be done, well at least by using the User Interface. What you can do is use code, so by using the power of the Octopus REST API and some PowerShell we can make it possible. In this post,ContinueContinue reading “Octopus Deploy Runbook cloning with the REST API”
Authenticating with GitHub App for git push
Sometime with your pipeline, application or any automation you may need to connect and authenticate with GitHub. For this you want to be secure, safe and not use a users details. This is why you would use a GitHub App instead, which is like a service account for authentication. I will guide you through howContinueContinue reading “Authenticating with GitHub App for git push”