| Field | Value |
|---|---|
| Author | Karishma Ghiya (kaghiya) |
| Status | Draft |
| Target Library | @azure/identity (azure-sdk-for-js) |
| Consumers | Azure CLI, Azure PowerShell, Azure Developer CLI teams |
| Impact | ~559K OIDC logins/month from GitHub Actions (Azure PowerShell alone, last 3 months) |
Introduction
Introducing a credential support for federated token authorization on Azure Pipelines in Azure SDK for Identity.
As a user, one should be able to use Azure Services from an Azure Pipeline task without using secrets. The Azure Pipelines provides a workload federation identity support for this through ARM Service Connections. This credential is designed to explicitly support this scenario for Azure Pipelines.
Read up on details on how federation identity is enabled for Service Connections - https://devblogs.microsoft.com/devops/public-preview-of-workload-identity-federation-for-azure-pipelines/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var CheckAmount = prompt("Enter Check Amount"); | |
| var taxAmount = (CheckAmount * 0.07).toFixed(2); | |
| var tipLevel1 = (CheckAmount * 0.10).toFixed(2); | |
| var tipLevel2 = (CheckAmount * 0.15).toFixed(2); | |
| var tipLevel3 = (CheckAmount * 0.20).toFixed(2); | |
| var totalBill = (Number(CheckAmount) + Number(taxAmount) + Number(tipLevel2)).toFixed(2); | |
| console.log("Base Amount: " + CheckAmount + "\n Tax (7%): "+Number(taxAmount)+"\nTip for stingy customers (10%): "+ tipLevel1 + "\nTip for regular customers (15%): "+tipLevel2+"\nTip for generous customers (20%): "+tipLevel3+ "\nTotal with tax and tip for regular customers: "+Number(totalBill)); |
