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
Developer on top of clock

Ephemeral environments with GitHub Codespaces

Back in August 2022, I posted about Ephemeral environments and compared GitPod and Replit. While Codespaces was first made GA in August 2021, making it fairly mature then, there were no free plans yet so I didn’t spend any time in it. Fast forward to November 2022, and GitHub has released free offerings for Codespaces. As of writing, a free GitHub account can use up to 60 hours for free. It is time to revisit Ephemeral Environments and play with GitHub Codespaces....

December 2, 2022 · 3 min · LPains