diff --git a/README.md b/README.md index c9d440ea..73614f3f 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ ![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/dirien/minectl/Build%20Binary/main?logo=github&style=for-the-badge) ![GitHub](https://img.shields.io/github/license/dirien/minectl?style=for-the-badge) -[![SonarCloud](https://sonarcloud.io/images/project_badges/sonarcloud-white.svg)](https://sonarcloud.io/summary/new_code?id=dirien_minectl) +[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=dirien_minectl&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=dirien_minectl) [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/dirien/minectl/badge?style=for-the-badge)](https://api.securityscorecards.dev/projects/github.com/dirien/minectl) [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/5238/badge)](https://bestpractices.coreinfrastructure.org/projects/5238) @@ -274,13 +274,41 @@ export VULTR_API_KEY=xxx > Please select a Hypervisor Generation '2' VM Size. As `minectl 🗺` use only Hypervisor Generation 2 Image +##### Option 1: Define environment variables + +###### Service principal with a secret ```bash -az login -az ad sp create-for-rbac --sdk-auth --role 'Contributor' > azure.auth +export AZURE_TENANT_ID="