How to Test AWS KMS Access: A Step-by-Step Guide for Developers

Are you struggling to verify if your AWS credentials have the right permissions to use your Customer Managed Key (CMK) in KMS? While AWS Access Analyzer is an excellent tool for this purpose, it’s not always available. In this guide, we’ll walk you through a practical alternative using a Python script to test your KMS …

Read more

Deciding Between Separate or Unified Azure App Registrations for Different Environments: Insights and AWS Comparisons

In Azure, deciding whether to use separate App Registrations for different environments of an application, such as development, staging, and production, depends largely on the specific needs and architecture of your project. Using separate App Registrations for each environment offers several advantages. It provides a clear boundary between environments, enhancing security by preventing accidental access …

Read more

How to Export Azure Function App Settings

Copying app settings from one Azure Function app to another without doing it manually can be done with the Azure CLI. First, install Azure CLI if you haven’t already. You can download and install it from Azure’s Official Website. Once you have it installed do the following. Login to Azure Export App Settings Import App …

Read more

How to Include Paths and Exclude All Others

I am in the process of building out several pipelines that correspond with projects within my .NET 6 solution. I did not want a pipeline to run if it didn’t need to. If a change was made to Project B and Project B isn’t connected to Project A through project references, I don’t want Project …

Read more

Azure Template Parameters and Variables Are Confusing

What I’m trying to do Initially, I was trying to use a variable in a variable group I assigned to a stage in a template as follows: The variable group contains a variable called Environment. Unfortunately the macro syntax variable, $(Environment), here doesn’t expand to insert the value into the template. Neither does the template …

Read more

What is an Azure Service Connection

An Azure Service Connection is the connection between Azure DevOps and your Azure subscription. It allows Azure DevOps to authenticate and interact with Azure resources and external resources on your behalf. When you create a service connection in Azure DevOps, you will give it a name. This is the name that you would use in …

Read more

Where Did My CodeBuild Environment Image Go?

I thought I would see if my code builds on a different version of PHP, so I chose to override the build image from the aws/codebuild/amazonlinux2-x86_64-standard:4.0 image up from the aws/codebuild/amazonlinux2-x86_64-standard:3.0 by clicking the “Override Image” button After verifying that I would need to update quite a few things, I changed my mind. I went …

Read more

Unable to Access Feed in Azure Devops

I was getting an error in my Nuget Restore task logs that looked something like this My yaml for the Nuget Restore task has an externalFeedCredentials input with the name of my service connection that I created in my Devops project. For authentication, I provided a Personal Access Token. I set my token to have …

Read more

How to Test Yaml Pipeline in Azure

… without making a pull request every time you make a change My yaml pipeline was setup to be triggered by the master branch. The problem was the master branch did not allow direct commits so for a while I was making a pull request for every change to see if it worked. Fortunately, I …

Read more