# OIDC Federation to Azure

say it: **“OH-EYE-DEE-SEE fed-er-AY-shun too AZH-er”** **/ˌoʊˌaɪˌdiˈsi ˌfɛdəˈreɪʃən tu ˈæʒər/**

Signing in to Azure with short-lived tokens, no stored secret.

## What is **OIDC Federation to Azure**?

**OIDC federation** lets a workflow sign in to Azure (or AWS) with a short-lived token instead of a stored password.

```yaml
permissions:
  id-token: write
steps:
  - uses: azure/login@v2
    with:
      client-id: ${{ vars.AZURE_CLIENT_ID }}
      tenant-id: ${{ vars.AZURE_TENANT_ID }}
      subscription-id: ${{ vars.AZURE_SUBSCRIPTION_ID }}
```

Level: Freelancer · [More GitHub Actions terms at this level](https://www.ask-codey.com/glossary?category=github-actions&level=4)

Updated: November 17, 2026

Source: https://www.ask-codey.com/glossary/oidc-federation-to-azure
