In this blog, discover how to securely execute SQL scripts in Azure Pipelines using a service principal with minimal permissions. Explore the steps to grant precise access, reducing security risks while ensuring smooth integration with your CI/CD workflows.
Latest posts tagged on "Azure SQL Database"
A Step-by-Step Guide to Setting Up Azure Database and SQL Server in the Azure Portal
This blog provides a comprehensive step-by-step guide on how to set up Azure Database and SQL Server in the Azure Portal. Discover how to create a resource group, provision an Azure SQL Server, configure firewall settings, create an Azure Database, and connect to the SQL Server using SQL Server Management Studio (SSMS).
Running a SQL Script from the Azure Pipeline using a Service Principal with Client Secret
In this blog post, we will discuss how to securely and reliably execute a SQL script from an Azure Pipeline using a Service Connection with a Client Secret. We will explore the step-by-step process, starting with creating a Service Connection in Azure DevOps, creating a service principal, setting the permissions and finally setting up the Azure Pipeline.