azdiff

Introducing azdiff: Simplifying Azure Environment Comparison

In the realm of cloud infrastructure, Azure offers a robust framework for managing resources through Infrastructure as Code (IaC) methodologies. However, even with the best IaC practices in place, managing and understanding changes across Azure app environments can be a daunting task. This is where the azdiff tool steps in to simplify the comparison process. azdiff is a dotnet global tool, thus, you will need .NET 8 or higher installed. To install azdiff, run the following command:...

December 10, 2023 · 2 min · LPains
Encrypted

Renewing an Azure Key Vault certificate with same key

Renewing certificates in Azure Key Vault, especially when using providers like Go Daddy that offer only .pem or .crt files, might seem complex. However, with the right steps, it becomes straightforward. Below, I’ll guide you through the process assuming you have a new certificate and CA certificate as .crt files and access to the current certificate as a .pfx in Azure Key Vault. Before you begin, ensure you have Azure CLI and OpenSSL installed....

November 28, 2023 · 2 min · LPains
Code Review in GitHub

Expert level code reviews

Code reviews are central to many modern software development processes. However, they are often considered a bother rather than something that can greatly improve code quality. I have been doing code reviews for many years and I have seen many different approaches. In this article, I will discuss the importance of code reviews and how to perform them properly. Obviously, this is a very opinionated post, but I think there is value for anyone interested in doing better code reviews....

October 25, 2023 · 9 min · LPains
Identity

Azure Pipeline service principal detail without AD Access

Azure Pipelines are a powerful tool for automating CI/CD workflows, and the AzureCLI task allows you to execute scripts using the Azure CLI. When working with service principals, it’s essential to have their client ID, secret, and object ID at hand. While obtaining the client ID and secret is straightforward using the addSpnToEnvironment property, retrieving the object ID can be a bit more challenging. In this blog post, we’ll explore a workaround to easily fetch the object ID for your service principal, even if it doesn’t have direct read access to Azure AD....

July 25, 2023 · 2 min · LPains
Infinity

An opinionated guide to choosing between Azure DevOps and Git Hub

Choosing the right DevOps tool can streamline your development processes and accelerate time to market for features. Two of the most prominent options available today are Azure DevOps (ADO) and GitHub. In this very opinionated post (you’ve been warned), I will guide you towards picking the right tool for your situation. What about other options? We might discuss other options in the future. I am assuming you are familiar with both tools already....

July 4, 2023 · 6 min · LPains