This documentation describes in what way to organize GitHub Actions to authenticate with Microsoft AzureEntra ID using OpenID Connect (OIDC) for secure and automated deployments to Azure. This guide covers key ideas like credentials, federated identity, and customer-managed keys for data encryption and use them securely in GitHub Actions pipeline.
In this article, I will guide through the procedure of securely keeping Azure credentials in GitHub Actions Repository Secrets and using them to authenticate with Azure CLI commands. This enables the execution of GitHub Actions workflows, automating various tasks and deployments in Azure. By storing Azure credentials as secrets in GitHub,
You can Authenticate to Azure services using the Azure…
After successfully configuring and setting up Azure and Terraform in GitHub Actions, I embarked on a Proof of Concept (POC) to automate PowerShell scripts (Azure az module) using GitHub Actions. I meticulously automated all the job steps using PowerShell, with a primary focus on utilizing credentials to establish a secure connection to the Microsoft Azure cloud and perform the necessary configurat…
In this section, I'm leveraging the azurerm backend to keep the Terraform state (tfstate) file in an Azure Storage Account. This will make sure that the Terraform state is centralized and consistent across different environments and team members. Every time I push changes to my Terraform configuration files to GitHub, Terraform will compare the updated code with the current state of the infrastru…
GitHub Actions is a CI/CD tool that automates tasks and workflows within your repository. It lets you to create custom workflows, trigger actions, and keep sensitive information securely. Common use cases include automating testing, deployment, and code quality checks. You can also use GitHub Actions to automate AzureTerraform deployments, enabling consistent and repeatable infrastructure provis…
In our team, a colleague was tasked with configuring SNMP settings on multiple HPE ILO portals. To streamline this process and avoid manual labor, they sought my expertise in automation. I leveraged the HPE ILO Redfish REST API with PowerShell to automate the task, utilizing the comprehensive API documentation available at https://hewlettpackard.github.io/ilo-rest-api-docs/ilo5/#snmp-ports-configu…
This HTML tool enables users to restart Linux servers remotely from their web browser, providing a convenient and efficient way to manage server operations. Built using HTML, PHP, and PowerShell, this project is designed to be hosted on a Windows XAMPP server only.
For added security and authorization, privileges can be defined in the JSON file located in the 'dbase' folder. This allows admin…
Here is a small HTML project I created to generate a new GUID each time the "Generate New GUID" button is clicked. Additionally, this project includes a feature that allows you to easily copy the generated GUID to your clipboard by clicking on a copy icon next to the GUID. The project uses basic HTML, CSS, and JavaScript, and it showcases how simple web functionality can be implemented in a lightw…
In this article, I will guide you through the process of configuring a Terraform module hosted on GitHub.com as a source for the use inside Terraform module projects. In my previous blog (Part 1), I demonstrated how to set up a GitHub.com repository and branch using HashiCorp Terraform code.
To Start, I will initialize a Git repository and push a module folder to store our Terraform module. Thi…
In this blog post, I will walk you through using HashiCorp Terraform to create and configure repositories and branches on an existing GitHub account. Before we begin, it's important to note that you should already have an active GitHub account.
To allow Terraform to interact with your GitHub account and perform the necessary operations, you'll need to generate a Personal Access Token (PAT). Thi…