🔥 3-day streak
GitHub Actions (GH-200)91 / 142
Question 91 of 142
Your team deploys to Azure from a GitHub Actions workflow. Currently a long-lived Azure service-principal client secret is stored as a repository secret and passed to the azure/login action. Security wants to eliminate the stored secret by using OpenID Connect (OIDC) federation. You configure a federated credential on the Azure AD app registration and update the workflow to log in with the client ID, tenant ID, and subscription ID (no secret). The job now fails at the login step with an error indicating no OIDC token could be requested. Which change to the workflow is required to make OIDC federation work?
Reviewed for accuracy · Report an issueNext question